mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed error with wrong song being shown
This commit is contained in:
@@ -1293,7 +1293,8 @@ nav ul li:hover, nav ul li.active {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list-remove{
|
.list-remove{
|
||||||
margin-top: -23px;
|
width: 27%;
|
||||||
|
margin-top: -31px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
display: inline-table;
|
display: inline-table;
|
||||||
|
|||||||
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
6
static/dist/main.min.js
vendored
6
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -64,7 +64,7 @@ var List = {
|
|||||||
} else if(i < List.page && $("#wrapper").children().length - (List.page + 1) >= 0){
|
} else if(i < List.page && $("#wrapper").children().length - (List.page + 1) >= 0){
|
||||||
$($("#wrapper").children()[List.page - 1]).css("display", "block");
|
$($("#wrapper").children()[List.page - 1]).css("display", "block");
|
||||||
} else if($("#wrapper").children().length > List.page + List.can_fit){
|
} else if($("#wrapper").children().length > List.page + List.can_fit){
|
||||||
$($("#wrapper").children()[List.page + List.can_fit]).css("display", "block");
|
$($("#wrapper").children()[List.page + List.can_fit - 1]).css("display", "block");
|
||||||
}
|
}
|
||||||
if(transition){
|
if(transition){
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
@@ -291,9 +291,9 @@ var List = {
|
|||||||
$("#wrapper").append("<span id='empty-channel-message'>The playlist is empty.</span>");
|
$("#wrapper").append("<span id='empty-channel-message'>The playlist is empty.</span>");
|
||||||
}
|
}
|
||||||
List.insertAtIndex(full_playlist[length-1], false);
|
List.insertAtIndex(full_playlist[length-1], false);
|
||||||
if($("#wrapper").children().length >= List.page + List.can_fit){
|
/*if($("#wrapper").children().length >= List.page + List.can_fit){
|
||||||
$($("#wrapper").children()[List.page + List.can_fit]).css("display", "block");
|
$($("#wrapper").children()[List.page + List.can_fit - 1]).css("display", "block");
|
||||||
}
|
}*/
|
||||||
|
|
||||||
}catch(e){}
|
}catch(e){}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user