Skip to content

Commit

Permalink
fix operator precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
betalb committed Aug 3, 2012
1 parent 690fcb3 commit 550eec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.selectmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
});
}
});
Expand Down

0 comments on commit 550eec9

Please sign in to comment.