diff options
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 075d7b3c2..cd6b15578 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -247,7 +247,7 @@ $.widget("ui.selectmenu", { if (o.maxHeight < this.list.height()){ this.list.height(o.maxHeight); } } else { if (!o.format && ($(window).height() / 3) < this.list.height()) { - o.maxHeight = $(window).height() / 3 + o.maxHeight = $(window).height() / 3; this.list.height(o.maxHeight); } } |