Commit c4fb583c authored by Van's avatar Van

🎨 #12724

parent f0acf426
...@@ -78,10 +78,10 @@ admin.themeList = { ...@@ -78,10 +78,10 @@ admin.themeList = {
$('#skinMain').append(skinsHTML + '<div class=\'fn__clear\'></div>') $('#skinMain').append(skinsHTML + '<div class=\'fn__clear\'></div>')
$('.skinItem .update').click(function () { $('.skinItem .update').click(function () {
admin.preference.update($(this).data('name'), 'pc') admin.themeList.update($(this).data('name'), 'pc')
}) })
$('.skinItem .mobile').click(function () { $('.skinItem .mobile').click(function () {
admin.preference.update($(this).data('name'), 'mobile') admin.themeList.update($(this).data('name'), 'mobile')
}) })
$('#loadMsg').text('') $('#loadMsg').text('')
...@@ -119,7 +119,7 @@ admin.themeList = { ...@@ -119,7 +119,7 @@ admin.themeList = {
$('#loadMsg').text('') $('#loadMsg').text('')
return return
} }
admin.preference.init() admin.themeList.init()
$('#loadMsg').text('') $('#loadMsg').text('')
}, },
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment