X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/4bf43ab9d4e6b724836724c1d514760d164df79a..c2cc0bd3dca23519f59565bc4e69fb5c92d3bb0f:/Plugson/www/plugson_theme.html?ds=sidebyside diff --git a/Plugson/www/plugson_theme.html b/Plugson/www/plugson_theme.html index 16bc973..b30d19a 100644 --- a/Plugson/www/plugson_theme.html +++ b/Plugson/www/plugson_theme.html @@ -299,7 +299,7 @@ $('input[type=radio]').each(function(){ var id = $(this).attr('id'); - if (id.startsWith('id_theme_file')) { + if (typeof(id) != 'undefined' && id.startsWith('id_theme_file')) { $(this).change(function() { m_data_theme[current_tab_index].default_file =parseInt(id.substr(id.length - 1)); VtoySaveCurrentPage();