summaryrefslogtreecommitdiff
path: root/public/js/forms.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/forms.js')
-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");
});