mirror of
https://github.com/mashirozx/sakura.git
synced 2024-12-12 09:54:35 +08:00
commit
a7dd54f97c
@ -782,12 +782,18 @@ if(mashiro_option.float_player_on) {
|
||||
lrcTag = 2;
|
||||
});
|
||||
var apSwitchTag = 0;
|
||||
var aplayerlist=$(".aplayer-list");
|
||||
aplayerlist.removeClass( "aplayer-list-hide" );
|
||||
aplayerlist.css({maxHeight:'0px'});
|
||||
$(".aplayer.aplayer-fixed .aplayer-body").addClass("ap-hover");
|
||||
$(".aplayer-miniswitcher").click(function(){
|
||||
if (apSwitchTag == 0) {
|
||||
aplayerlist.removeClass( "aplayer-list-hide" );
|
||||
aplayerlist.animate({maxHeight:'250px'});
|
||||
$(".aplayer.aplayer-fixed .aplayer-body").removeClass( "ap-hover" );
|
||||
apSwitchTag = 1;
|
||||
} else {
|
||||
aplayerlist.css({maxHeight:'0px'});
|
||||
$(".aplayer.aplayer-fixed .aplayer-body").addClass( "ap-hover" );
|
||||
apSwitchTag =0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user