Skip to content

Commit 80c400a

Browse files
committed
Merge pull request fnagel#255 from betalb/patch-2
fixes: operator precedence when using own collision option
2 parents 690fcb3 + 550eec9 commit 80c400a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.selectmenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ $.widget("ui.selectmenu", {
868868
my: o.positionOptions.my,
869869
at: o.positionOptions.at,
870870
offset: o.positionOptions.offset || _offset,
871-
collision: o.positionOptions.collision || o.style == "popup" ? 'fit' :'flip'
871+
collision: o.positionOptions.collision || (o.style == "popup" ? 'fit' :'flip')
872872
});
873873
}
874874
});

0 commit comments

Comments
 (0)