Skip to content
Browse files

core: this fixes the Safari issue that select options can't be select…

…ed if the mouse widget is used, since the mousedown returns false which calls preventDefault. Returning true causes text to be selectable in FF/Opera though, so this needs to be Safari only for now.
  • Loading branch information
Paul Bakaus
Paul Bakaus committed Nov 19, 2008
1 parent c3df1b6 commit 352287b7efeaf400463eae637a2230a350c6e2d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.core.js
@@ -455,7 +455,7 @@ $.ui.mouse = {
.bind('mousemove.'+this.widgetName, this._mouseMoveDelegate)
.bind('mouseup.'+this.widgetName, this._mouseUpDelegate);

return false;
return $.browser.safari; //Fix for safari to allow selecting select options

_mouseMove: function(event) {

0 comments on commit 352287b

Please sign in to comment.
You can’t perform that action at this time.