mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-02-16 06:19:35 +00:00
Fixed some html decoding errors and added animation to admin panel, fixes #34
This commit is contained in:
@@ -4,12 +4,11 @@ var pass_corr = "";
|
||||
function admin()
|
||||
{
|
||||
adminTogg = !adminTogg;
|
||||
if(!adminTogg){
|
||||
$("#playlist").height($("#playlist").height()+$("#adminPanel").outerHeight(true));
|
||||
$("#passbox").focus();
|
||||
}
|
||||
|
||||
if(adminTogg) $("#playlist").height($("#playlist").height()-210); //opening
|
||||
if(!adminTogg)setTimeout(function(){$("#playlist").height($("#playlist").height()+210);},501); //closing
|
||||
|
||||
$("#adminPanel").toggleClass("hiddenAdmin");
|
||||
if(adminTogg) $("#playlist").height($("#playlist").height()-$("#adminPanel").outerHeight(true));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user