]> source.dussan.org Git - jquery-ui.git/commitdiff
fix operator precedence
authorВиталий <betalb@gmail.com>
Fri, 3 Aug 2012 10:18:01 +0000 (14:18 +0400)
committerВиталий <betalb@gmail.com>
Fri, 3 Aug 2012 10:18:01 +0000 (14:18 +0400)
ui/jquery.ui.selectmenu.js

index 527d40eae2ab2448f8c0fc7f34ccd0f23de2deb8..ae0a953fc10675a856e3c86378c4defe74579b47 100644 (file)
@@ -868,7 +868,7 @@ $.widget("ui.selectmenu", {
                                my: o.positionOptions.my,
                                at: o.positionOptions.at,
                                offset: o.positionOptions.offset || _offset,
-                               collision: o.positionOptions.collision || o.style == "popup" ? 'fit' :'flip'
+                               collision: o.positionOptions.collision || (o.style == "popup" ? 'fit' :'flip')
                        });
        }
 });