diff --git a/live2d/waifu-tips.js b/live2d/waifu-tips.js index 8ba002d..d912897 100644 --- a/live2d/waifu-tips.js +++ b/live2d/waifu-tips.js @@ -10,13 +10,11 @@ function aplayer_panel_toggle(){ if(music_flag){ $(".aplayer.aplayer-fixed .aplayer-body").addClass("my-hide"); $(".aplayer.aplayer-fixed .aplayer-list").addClass("my-hide zero-margin-bottom"); - $(".shuoshuo-content.shuoshuo-folded").removeClass("simple-shuoshuo-folded"); music_flag=false; } else{ $(".aplayer.aplayer-fixed .aplayer-body").removeClass("my-hide"); $(".aplayer.aplayer-fixed .aplayer-list").removeClass("my-hide zero-margin-bottom"); - $(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded"); music_flag=true; } } @@ -26,11 +24,13 @@ function simple_mode_toggle(){ if(simple_mode){ $("#content").removeClass("background-hide"); $("html").removeClass("filter-grayscale"); + $(".shuoshuo-content.shuoshuo-folded").removeClass("simple-shuoshuo-folded"); simple_mode=false; } else{ $("#content").addClass("background-hide"); $("html").addClass("filter-grayscale"); + $(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded"); simple_mode=true; } }