Skip to content

Commit 550eec9

Browse files
committed
fix operator precedence
1 parent 690fcb3 commit 550eec9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)