mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added resizing for the playlist accordingly
This commit is contained in:
@@ -2,7 +2,10 @@ var adminTogg;
|
||||
|
||||
function admin()
|
||||
{
|
||||
adminTogg = !adminTogg;
|
||||
if(!adminTogg) $("#playlist").height($("#playlist").height()+$("#adminPanel").outerHeight(true));
|
||||
$("#adminPanel").toggleClass("hiddenAdmin");
|
||||
if(adminTogg) $("#playlist").height($("#playlist").height()-$("#adminPanel").outerHeight(true));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user