diff --git a/src/event.js b/src/event.js index 42655c9bc..b55208066 100644 --- a/src/event.js +++ b/src/event.js @@ -520,9 +520,8 @@ jQuery.event = { if ( this.setInterval ) { this.onbeforeunload = eventHandle; } - - return false; }, + teardown: function( namespaces, eventHandle ) { if ( this.onbeforeunload === eventHandle ) { this.onbeforeunload = null;