fix plugson page language issue

This commit is contained in:
longpanda
2022-01-11 09:39:01 +08:00
parent 036b58ff0c
commit 76a6b8061c
5 changed files with 17 additions and 9 deletions

View File

@@ -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();