From 4da9c1fee17a8452a7f9acda88e500280f67e675 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: Fri, 28 Jul 2023 22:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E6=9E=81=E7=AE=80=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E9=9A=90=E8=97=8Fbanner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live2d/waifu-tips.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/live2d/waifu-tips.js b/live2d/waifu-tips.js index 0bc750d..b994378 100644 --- a/live2d/waifu-tips.js +++ b/live2d/waifu-tips.js @@ -25,12 +25,16 @@ function simple_mode_toggle(){ $("#content").removeClass("background-hide"); $("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("filter-grayscale"); $(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded"); + $("html").removeClass("banner-as-cover"); + $("html").addClass("no-banner"); simple_mode=true; } }