]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - Plugson/www/plugson_theme.html
update tip message for VTOY_DEFAULT_SEARCH_ROOT (#1373)
[Ventoy.git] / Plugson / www / plugson_theme.html
index 16bc97333b88e259f753f4b5c0c5d5eaf8b3dc51..b30d19a06fcc30567ffdaff71fdb654f9e90364d 100644 (file)
 \r
     $('input[type=radio]').each(function(){\r
       var id = $(this).attr('id');\r
-      if (id.startsWith('id_theme_file')) {\r
+      if (typeof(id) != 'undefined' && id.startsWith('id_theme_file')) {\r
         $(this).change(function() {\r
           m_data_theme[current_tab_index].default_file =parseInt(id.substr(id.length - 1));\r
           VtoySaveCurrentPage();\r