scrolling for big drop down menus, fixes #360
This commit is contained in:
parent
962e7d5726
commit
4b2bc20d0e
|
@ -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");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue