فهرست منبع

DO NOT USE!!!!!
fix remove theme - again!

causefx 8 سال پیش
والد
کامیت
f7f1d26509
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      js/functions.js

+ 1 - 1
js/functions.js

@@ -1099,7 +1099,7 @@ function removeTheme(theme=null){
         if(html.data.substr(0, 7) == 'Success'){
         if(html.data.substr(0, 7) == 'Success'){
             var newThemes = html.data.split('!@!');
             var newThemes = html.data.split('!@!');
             activeInfo.settings.misc.installedThemes = newThemes[1];
             activeInfo.settings.misc.installedThemes = newThemes[1];
-            loadMarketplace('plugins');
+            loadMarketplace('themes');
             message(theme.name+' Removed','Please Click Customize Above to refresh',activeInfo.settings.notifications.position,"#FFF","success","5000");
             message(theme.name+' Removed','Please Click Customize Above to refresh',activeInfo.settings.notifications.position,"#FFF","success","5000");
         }else{
         }else{
             message('Remove Failed',html.data,activeInfo.settings.notifications.position,"#FFF","warning","10000");
             message('Remove Failed',html.data,activeInfo.settings.notifications.position,"#FFF","warning","10000");