diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-02-14 04:27:31 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-02-14 04:27:31 +0000 |
commit | f869dab6b00f32cb598457261d4d9c369ff04dc5 (patch) | |
tree | a82899dce576e24769d96af0fda555c59ea2f4ce /ui | |
parent | a7eb669c01193a2af4b3fd1eb8588ccf032d22c3 (diff) | |
download | jquery-ui-f869dab6b00f32cb598457261d4d9c369ff04dc5.tar.gz jquery-ui-f869dab6b00f32cb598457261d4d9c369ff04dc5.zip |
Mouse: Fixed #4146: Don't set the flag to prevent click events if mouseup occurs on a diferent element than mousedown (was preventing the next click event from occuring).
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js index 492e3a3ea..7e5a238c7 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -484,7 +484,7 @@ $.ui.mouse = { if (this._mouseStarted) { this._mouseStarted = false; - this._preventClickEvent = true; + this._preventClickEvent = (event.target == this._mouseDownEvent.target); this._mouseStop(event); } |