Skip to content

Commit

Permalink
Mouse: Stop immediate propagation of click events. Partial fix for #3…
Browse files Browse the repository at this point in the history
…177 - click is fired for draggagble elements on mouseUp.
  • Loading branch information
scottgonzalez committed Feb 14, 2009
1 parent f3feb25 commit a7eb669
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/ui.core.js
Expand Up @@ -380,6 +380,7 @@ $.ui.mouse = {
.bind('click.'+this.widgetName, function(event) {
if(self._preventClickEvent) {
self._preventClickEvent = false;
event.stopImmediatePropagation();
return false;
}
});
Expand Down

0 comments on commit a7eb669

Please sign in to comment.