resize file list on window.resize
This commit is contained in:
parent
adadd31b83
commit
e43bc56547
1 changed files with 7 additions and 0 deletions
|
@ -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) {
|
function getJQ(f) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue