aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/scripts.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/scripts.js')
-rw-r--r--src/main/webapp/scripts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/webapp/scripts.js b/src/main/webapp/scripts.js
index 97adbcf7..bb3ddc5d 100644
--- a/src/main/webapp/scripts.js
+++ b/src/main/webapp/scripts.js
@@ -678,5 +678,5 @@ $(document).ready(function() {
$(window).bind('hashchange',unfoldPostForm);
$(window).bind('hashchange',unfoldReply);
- $(window).on('beforeunload',wsShutdown);
+ $(window).on('pagehide',wsShutdown);
});