From ef5d38e61f6f394c569bcfd187fbb6e024d4b1d0 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:49:13 +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 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/live2d/waifu-tips.js b/live2d/waifu-tips.js index ba8e872..6e89d62 100644 --- a/live2d/waifu-tips.js +++ b/live2d/waifu-tips.js @@ -22,17 +22,13 @@ function aplayer_panel_toggle(){ var simple_mode=false; function simple_mode_toggle(){ if(simple_mode){ - $("html").removeClass("simple-mode"); - $("html").removeClass("filter-grayscale"); + $("html").removeClass("simple-mode filter-grayscale no-banner"); $("html").addClass("banner-as-cover"); - $("html").removeClass("no-banner"); simple_mode=false; } else{ - $("html").addClass("simple-mode"); - $("html").addClass("filter-grayscale"); + $("html").addClass("simple-mode filter-grayscale no-banner"); $("html").removeClass("banner-as-cover"); - $("html").addClass("no-banner"); simple_mode=true; } }