From: Alex May Date: Mon, 23 May 2011 23:02:57 +0000 (-0700) Subject: add collision option to position call X-Git-Tag: selectmenu_v1.1.0~9^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3a54e03d9a7198f97f323580630e18511a38d395;p=jquery-ui.git add collision option to position call --- diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index deb7b419b..89a72c4b9 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -766,7 +766,8 @@ $.widget("ui.selectmenu", { of: o.positionOptions.of || this.newelement, my: o.positionOptions.my, at: o.positionOptions.at, - offset: o.positionOptions.offset || _offset + offset: o.positionOptions.offset || _offset, + collision: o.positionOptions.collision || 'flip' }); } });