Skip to content
Permalink
Browse files
Stop bubbling events on custom events. Closes #15
  • Loading branch information
nyroDev committed Jan 13, 2011
1 parent 3af6de1 commit ecbfb31512d770b305091116d6ef3c7585471d12
Showing 1 changed file with 3 additions and 3 deletions.
@@ -559,9 +559,9 @@ jQuery(function($, undefined) {
nm.opener
.unbind('nyroModal.nyroModal nmClose.nyroModal nmResize.nyroModal')
.bind({
'nyroModal.nyroModal': function() { nm.open(); },
'nmClose.nyroModal': function() { nm.close(); },
'nmResize.nyroModal': function() { nm.resize(); }
'nyroModal.nyroModal': function(e) { nm.open(); return false;},
'nmClose.nyroModal': function() { nm.close(); return false;},
'nmResize.nyroModal': function() { nm.resize(); return false;}
});
},

0 comments on commit ecbfb31

Please sign in to comment.