From 6b3358e113d20695ca7739ba137ed950e1fe9822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Fri, 3 Jul 2015 17:40:51 +0200 Subject: [PATCH] Fix for images not loading when songchange --- static/js/list.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/list.js b/static/js/list.js index da9b5932..5ca23dd3 100755 --- a/static/js/list.js +++ b/static/js/list.js @@ -66,6 +66,8 @@ var List = { full_playlist.push(full_playlist.shift()); $("#wrapper").children()[0].remove(); List.insertAtIndex($("#wrapper").children().length, full_playlist[full_playlist.length-2], false); + document.getElementById('wrapper').scrollTop += 1; + document.getElementById('wrapper').scrollTop -= 1; //populate_list(full_playlist); } },