aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/event.js b/test/unit/event.js
index 1c95aff38..23624731c 100644
--- a/test/unit/event.js
+++ b/test/unit/event.js
@@ -1430,7 +1430,7 @@ if ( window.onbeforeunload === null ) {
if ( !fired ) {
jQuery( win ).trigger("beforeunload");
}
- })
+ });
win.onbeforeunload = null;