Fixed all warnings generated when javascript.options.strict is enabled in Firefox about:config.

This commit is contained in:
John Resig 2006-10-15 02:57:55 +00:00
parent e7669f64d8
commit af961d58c2
3 changed files with 10 additions and 7 deletions

View file

@ -1600,7 +1600,7 @@ new function(){
// Add the event
jQuery.event.add( this, o, function(e){
// If this function has already been executed, stop
if ( count++ ) return;
if ( count++ ) return true;
// And execute the bound function
return f.apply(this, [e]);