diff options
author | msquare <msquare@notrademark.de> | 2017-11-30 22:01:21 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-11-30 22:01:21 +0100 |
commit | 4b2bc20d0e1804d157a470723577100a59b59b4c (patch) | |
tree | 77e2ed63d89e47bb0c25d7e2c59950d4f34fd7a9 | |
parent | 962e7d5726e9720ba66fd268548b85238e098019 (diff) |
scrolling for big drop down menus, fixes #360
-rw-r--r-- | public/js/forms.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/public/js/forms.js b/public/js/forms.js index 97a89465..c7f4a095 100644 --- a/public/js/forms.js +++ b/public/js/forms.js @@ -82,4 +82,8 @@ $(function () { $("input[type='submit']").prop("readonly", true).addClass("disabled"); return true; }); + + $(".dropdown-menu").css("max-height", function() { + return ($(window).height() - 50) + "px"; + }).css("overflow-y", "scroll"); }); |