diff --git a/index.php b/index.php index 892c4876..150d4470 100755 --- a/index.php +++ b/index.php @@ -42,6 +42,9 @@
+
diff --git a/js/admin.js b/js/admin.js
index 7c7cefa0..c5e6db04 100755
--- a/js/admin.js
+++ b/js/admin.js
@@ -6,8 +6,11 @@ function admin()
adminTogg = !adminTogg;
if(adminTogg)
- if(adminTogg) $("#playlist").height($("#player").height()-270+30); //opening
- if(!adminTogg)$("#playlist").height($("#player").height()+30);; //closing
+ if(find) extraHeight = 0;
+ else extraHeight = 30;
+
+ if(adminTogg) $("#playlist").height($("#player").height()-270+extraHeight); //opening
+ if(!adminTogg)$("#playlist").height($("#player").height()+extraHeight);; //closing
$("#adminPanel").toggleClass("hiddenAdmin");
}
diff --git a/js/list.js b/js/list.js
index 0a62d4bf..70daa8a6 100755
--- a/js/list.js
+++ b/js/list.js
@@ -36,13 +36,14 @@ function updateList()
$("#wrapper").empty();
$.each(list.songs, function(j, listeID){
-
var video_title=listeID.title.replace(/\\\'/g, "'").replace(/"/g,"'").replace(/&/g,"&");
var video_id = listeID.id;
+ if(find && video_id != bright) brightness = "brightness";
+ else brightness = "";
var video_thumb = "http://i.ytimg.com/vi/"+video_id+"/mqdefault.jpg";
var odd = ""; if(j%2===0)odd=" oddlist";
var delsong = ""; if(pass_corr=="correct")delsong="";
- var finalhtml="