resize file list on window.resize

This commit is contained in:
Sanj 2011-07-01 15:41:40 +05:30
parent adadd31b83
commit e43bc56547

View File

@ -74,7 +74,14 @@ $(function() {
});
$(window).resize(function() {
var minuser = 300;
var winHeight = $(window).height();
var listHeight = winHeight - minuser;
$('#fileList').css("height", listHeight + "px");
});
$(window).resize();
});
function getJQ(f) {