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).

This commit is contained in:
Scott González 2009-02-14 04:27:31 +00:00
parent a7eb669c01
commit f869dab6b0

View File

@ -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);
}