]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - Plugson/www/plugson_control.html
fix plugson page language issue
[Ventoy.git] / Plugson / www / plugson_control.html
index 60c8fc75443d79e43536b3271432f0ab9f65e9ab..b686455628822e9f3a6c24e567c260974b5f7b24 100644 (file)
 \r
   $('input[type=radio]').each(function(){\r
     var id = $(this).attr('id');\r
 \r
   $('input[type=radio]').each(function(){\r
     var id = $(this).attr('id');\r
-    if (id.startsWith('id_ctrl')) {\r
+    if (typeof(id) != 'undefined' && id.startsWith('id_ctrl')) {\r
       $(this).change(VtoySaveCurrentPage);\r
     }\r
   });\r
       $(this).change(VtoySaveCurrentPage);\r
     }\r
   });\r