From f47a51928b0b97f0cc1229c6bc97f38011327a55 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 23 Dec 2015 21:25:40 +0300 Subject: fix caching in ie --- src/main/webapp/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/webapp') 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); }); -- cgit v1.2.3