summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/js/forms.js4
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");
});