scrolling for big drop down menus, fixes #360

This commit is contained in:
msquare 2017-11-30 22:01:21 +01:00
parent 962e7d5726
commit 4b2bc20d0e
1 changed files with 4 additions and 0 deletions

View File

@ -82,4 +82,8 @@ $(function () {
$("input[type='submit']").prop("readonly", true).addClass("disabled"); $("input[type='submit']").prop("readonly", true).addClass("disabled");
return true; return true;
}); });
$(".dropdown-menu").css("max-height", function() {
return ($(window).height() - 50) + "px";
}).css("overflow-y", "scroll");
}); });