mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-15 03:10:55 +00:00
[Core] lint
This commit is contained in:
parent
9c009d2f15
commit
60874b093a
@ -251,7 +251,7 @@ final class BridgeCard
|
|||||||
$attributes = self::getInputAttributes($entry);
|
$attributes = self::getInputAttributes($entry);
|
||||||
|
|
||||||
$fieldsDisplayString = '';
|
$fieldsDisplayString = '';
|
||||||
foreach($entry['fields_name_used_for_display'] as $index => $field) {
|
foreach ($entry['fields_name_used_for_display'] as $index => $field) {
|
||||||
if ($index === 0) {
|
if ($index === 0) {
|
||||||
$fieldsDisplayString = 'option.' . $field;
|
$fieldsDisplayString = 'option.' . $field;
|
||||||
} else {
|
} else {
|
||||||
@ -260,7 +260,7 @@ final class BridgeCard
|
|||||||
}
|
}
|
||||||
|
|
||||||
$fieldsValueString = '';
|
$fieldsValueString = '';
|
||||||
foreach($entry['fields_name_used_as_value'] as $index => $field) {
|
foreach ($entry['fields_name_used_as_value'] as $index => $field) {
|
||||||
if ($index === 0) {
|
if ($index === 0) {
|
||||||
$fieldsValueString = 'option.' . $field;
|
$fieldsValueString = 'option.' . $field;
|
||||||
} else {
|
} else {
|
||||||
@ -268,7 +268,8 @@ final class BridgeCard
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$list = sprintf('<input %s id="input-%s" name="%s" type="text" list="options-%s" onmousedown="
|
$list = sprintf(
|
||||||
|
'<input %s id="input-%s" name="%s" type="text" list="options-%s" onmousedown="
|
||||||
const id = \'%s\';
|
const id = \'%s\';
|
||||||
const inputElement = document.getElementById(\'input-\' + id);
|
const inputElement = document.getElementById(\'input-\' + id);
|
||||||
const errorElement = document.getElementById(\'error-\' + id);
|
const errorElement = document.getElementById(\'error-\' + id);
|
||||||
|
Loading…
Reference in New Issue
Block a user