git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a49e6b6
)
No reason to double-bind the beforeunload event. Fixes #6113.
author
jeresig
<jeresig@gmail.com>
Sat, 27 Feb 2010 15:03:43 +0000
(10:03 -0500)
committer
jeresig
<jeresig@gmail.com>
Sat, 27 Feb 2010 15:03:43 +0000
(10:03 -0500)
src/event.js
patch
|
blob
|
history
diff --git
a/src/event.js
b/src/event.js
index
42655c9
..
b552080
100644
(file)
--- 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;