Trying some new sizing of playlist, removing scroll form playlist, only pagination

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-20 14:55:51 +01:00
parent d52c169873
commit 7e950ea734
5 changed files with 55 additions and 36 deletions

View File

@@ -857,6 +857,11 @@ $(document).on("click", "#closeSettings", function(e)
Admin.hide_settings();
});
$(window).resize(function(){
List.element_height = (($("#wrapper").height()) / List.can_fit)-6;
$(".list-song").css("height", List.element_height + "px");
})
$(document).on( "click", ".result-object", function(e){
var $html = $(e.target);
var substr = $html.prop('outerHTML').substring(0,4);