aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-03-07 10:47:33 -0500
committerScott González <scott.gonzalez@gmail.com>2011-03-07 10:47:33 -0500
commitd4b2e494f9ad81dd4211673d9dc5a8cc8e322bb2 (patch)
tree95b5a64eaaa79ed699d64a5b7ae66411deab39cb /ui
parent74b7c3f684f5d83effcee6d5099c6fffb020fdf9 (diff)
parentcf0649ed6abcee7045308a8cdbe9123259fa064a (diff)
downloadjquery-ui-d4b2e494f9ad81dd4211673d9dc5a8cc8e322bb2.tar.gz
jquery-ui-d4b2e494f9ad81dd4211673d9dc5a8cc8e322bb2.zip
Merge branch 'master' of https://github.com/voxwerk/jquery-ui into voxwerk-master
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.mouse.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/jquery.ui.mouse.js b/ui/jquery.ui.mouse.js
index f5e8b58c0..bfe4a7578 100644
--- a/ui/jquery.ui.mouse.js
+++ b/ui/jquery.ui.mouse.js
@@ -75,6 +75,11 @@ $.widget("ui.mouse", {
}
}
+ // Click event may never have fired (Gecko & Opera)
+ if (true === $.data(event.target, this.widgetName + '.preventClickEvent')) {
+ $.removeData(event.target, this.widgetName + '.preventClickEvent');
+ }
+
// these delegates are required to keep context
this._mouseMoveDelegate = function(event) {
return self._mouseMove(event);