mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-06-04 16:54:08 -04:00
fix plugson page language issue
This commit is contained in:
parent
036b58ff0c
commit
76a6b8061c
5 changed files with 17 additions and 9 deletions
|
@ -108,7 +108,7 @@
|
|||
var value = $(this).val();
|
||||
var intval;
|
||||
|
||||
if (id.length <= 16) {
|
||||
if (typeof(id) == 'undefined' || id.length <= 16) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -146,7 +146,7 @@
|
|||
var id = $(this).attr('id');
|
||||
var checked = $(this).is(':checked');
|
||||
|
||||
if (id.length <= 14) {
|
||||
if (typeof(id) == 'undefined' || id.length <= 14) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -280,6 +280,9 @@
|
|||
|
||||
$('input[type=text]').each(function (){
|
||||
var id = $(this).attr('id');
|
||||
if (typeof(id) == 'undefined') {
|
||||
retunrn;
|
||||
}
|
||||
|
||||
if (id.startsWith('id_text_timeout_') || id.startsWith('id_text_autosel_')) {
|
||||
$(this).change(OnInputTextChange);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue