Focused support of .live(). stopPropagation and stopImmediatePropagation are not supported - and do not do what the use would expect.

This commit is contained in:
John Resig 2009-01-20 17:25:37 +00:00
parent 28a1f02223
commit a78557472c
2 changed files with 12 additions and 4 deletions

View file

@ -572,9 +572,8 @@ function liveHandler( event ){
});
jQuery.each(elems, function(){
if ( !event.isImmediatePropagationStopped() &&
this.fn.call(this.elem, event, this.fn.data) === false )
stop = false;
if ( this.fn.call(this.elem, event, this.fn.data) === false )
stop = false;
});
return stop;