diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/webapp/scripts.js | 2 |
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); }); |