为极简模式隐藏banner

This commit is contained in:
丑小鸦 authored and GitHub committed 2023-07-28 22:32:44 +08:00
1 parent 2c9d4314d6
commit 4da9c1fee1
1 file changed
+4
+4
View File
@@ -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;
}
}