mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-18 23:46:03 +00:00
Updated what to cache, and updated offline-page
This commit is contained in:
@@ -34,7 +34,7 @@ var List = {
|
||||
if(!song_info.now_playing){
|
||||
|
||||
var add = List.generateSong(song_info, transition, false, true, false);
|
||||
if(i == 0) {
|
||||
if(i === 0) {
|
||||
$("#wrapper").prepend(add);
|
||||
} else {
|
||||
$("#wrapper > div:nth-child(" + (i) + ")").after(add);
|
||||
@@ -314,4 +314,4 @@ var List = {
|
||||
scrollBottom: function(){
|
||||
$("#wrapper").scrollTop($("#wrapper")[0].scrollHeight);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user