Skip to content

Commit

Permalink
为极简模式隐藏banner
Browse files Browse the repository at this point in the history
  • Loading branch information
crowya authored Jul 28, 2023
1 parent 2c9d431 commit 4da9c1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions live2d/waifu-tips.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 4da9c1f

Please sign in to comment.