Skip to content
Permalink
Browse files

Mouse: Stop immediate propagation of click events. Partial fix for #3…

…177 - click is fired for draggagble elements on mouseUp.
  • Loading branch information...
scottgonzalez committed Feb 14, 2009
1 parent f3feb25 commit a7eb669c01193a2af4b3fd1eb8588ccf032d22c3
Showing with 1 addition and 0 deletions.
  1. +1 −0 ui/ui.core.js
@@ -380,6 +380,7 @@ $.ui.mouse = {
.bind('click.'+this.widgetName, function(event) {
if(self._preventClickEvent) {
self._preventClickEvent = false;
event.stopImmediatePropagation();
return false;
}
});

0 comments on commit a7eb669

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