admin and style fixes

This commit is contained in:
Nicolas A. Tonne
2014-10-15 12:36:35 +02:00
parent b0c80e7576
commit 3958290ec9
2 changed files with 7 additions and 6 deletions

View File

@@ -9,13 +9,13 @@ function admin()
context: document.body,
success: function(response){
//$(response).hide().appendTo("#adminPanel").fadeIn(1000);
$("#adminPanel").append(response).hide().fadeIn(1000);
$("#adminPanel").append(response).hide().fadeIn(300);
}
});
}else
{
setTimeout(function(){document.getElementById("adminPanel").innerHTML = "";}, 500);
$("#adminPanel").fadeOut(500);
setTimeout(function(){document.getElementById("adminPanel").innerHTML = "";}, 300);
$("#adminPanel").fadeOut(300);
}
$("#playlist").toggleClass("lowOpacity");
}