Skip to content
Permalink
Browse files

Mouse: Fixed #4146: Don't set the flag to prevent click events if mou…

…seup occurs on a diferent element than mousedown (was preventing the next click event from occuring).
  • Loading branch information...
scottgonzalez committed Feb 14, 2009
1 parent a7eb669 commit f869dab6b00f32cb598457261d4d9c369ff04dc5
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
}

0 comments on commit f869dab

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