From 1806126b94fece242d2c41daa21da6dc2934fcb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=91=E5=B0=8F=E9=B8=A6?= <61354956+crowya@users.noreply.github.com> Date: Sat, 29 Jul 2023 01:38:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E7=AE=80=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live2d/waifu-tips.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/live2d/waifu-tips.js b/live2d/waifu-tips.js index b994378..ba8e872 100644 --- a/live2d/waifu-tips.js +++ b/live2d/waifu-tips.js @@ -22,17 +22,15 @@ function aplayer_panel_toggle(){ var simple_mode=false; function simple_mode_toggle(){ if(simple_mode){ - $("#content").removeClass("background-hide"); + $("html").removeClass("simple-mode"); $("html").removeClass("filter-grayscale"); - $(".shuoshuo-content.shuoshuo-folded").removeClass("simple-shuoshuo-folded"); $("html").addClass("banner-as-cover"); $("html").removeClass("no-banner"); simple_mode=false; } else{ - $("#content").addClass("background-hide"); + $("html").addClass("simple-mode"); $("html").addClass("filter-grayscale"); - $(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded"); $("html").removeClass("banner-as-cover"); $("html").addClass("no-banner"); simple_mode=true;