mirror of
https://github.com/Buriburizaem0n/live2d.git
synced 2026-02-04 11:30:02 +00:00
为极简模式隐藏banner
This commit is contained in:
@@ -25,12 +25,16 @@ function simple_mode_toggle(){
|
|||||||
$("#content").removeClass("background-hide");
|
$("#content").removeClass("background-hide");
|
||||||
$("html").removeClass("filter-grayscale");
|
$("html").removeClass("filter-grayscale");
|
||||||
$(".shuoshuo-content.shuoshuo-folded").removeClass("simple-shuoshuo-folded");
|
$(".shuoshuo-content.shuoshuo-folded").removeClass("simple-shuoshuo-folded");
|
||||||
|
$("html").addClass("banner-as-cover");
|
||||||
|
$("html").removeClass("no-banner");
|
||||||
simple_mode=false;
|
simple_mode=false;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$("#content").addClass("background-hide");
|
$("#content").addClass("background-hide");
|
||||||
$("html").addClass("filter-grayscale");
|
$("html").addClass("filter-grayscale");
|
||||||
$(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded");
|
$(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded");
|
||||||
|
$("html").removeClass("banner-as-cover");
|
||||||
|
$("html").addClass("no-banner");
|
||||||
simple_mode=true;
|
simple_mode=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user