Fix scroll offset on playlists load

This commit is contained in:
Davis Mosenkovs 2015-07-12 02:24:42 +03:00
parent 896ec8afde
commit 8502f648f1

View File

@ -127,7 +127,7 @@ function scrollToTracklist() {
playlistslistScroll.refresh(); playlistslistScroll.refresh();
} }
*/ */
var divtop = $("#playlisttracksdiv").offset().top - 50; var divtop = $("#playlisttracksdiv").offset().top - 120;
$('body,html').animate({ $('body,html').animate({
scrollTop: divtop scrollTop: divtop
}, 250); }, 250);