diff --git a/misc/Christmas_Town_Helper_2.3.3_mobile.js b/misc/Christmas_Town_Helper_2.3.3_mobile.js index d276cfc..f1b67b1 100644 --- a/misc/Christmas_Town_Helper_2.3.3_mobile.js +++ b/misc/Christmas_Town_Helper_2.3.3_mobile.js @@ -494,7 +494,6 @@ let func = function (GM_addStyle, unsafeWindow, GM_getValue, GM_setValue, GM_xml url: 'https://sguc.wanzixx.stream/macros/s/AKfycbyRfg1Cx2Jm3IuCWASUu8czKeP3wm5jKsie4T4bxwZHzXTmPbaw4ybPRA/exec?key=getItems', onload: function (e) { try { - console.log(e.responseText) let data = JSON.parse(e.responseText); if (data.items) { let items = data.items; diff --git a/src/ts/class/action/SidebarHelper.ts b/src/ts/class/action/SidebarHelper.ts index 9c56fec..8835c29 100644 --- a/src/ts/class/action/SidebarHelper.ts +++ b/src/ts/class/action/SidebarHelper.ts @@ -23,7 +23,7 @@ export default class SidebarHelper extends WuhuBase { this.toggleBtn = document.createElement('button'); this.isHide = !!WuhuConfig.get('HideSidebar'); - if (!document.body.classList.contains('without-sidebar')) { + if (!document.body.classList.contains('without-sidebar') || window.location.href.includes('christmas_town.php')) { this.initToggleBtn(); this.barRedirect(); } else {