From e60ee6886d63bb4aa08165f63c13176cca5d6965 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 10 Oct 2016 21:04:42 +0800 Subject: Cancel update history on page unload --- public/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js/index.js') diff --git a/public/js/index.js b/public/js/index.js index 63d7f3db..6b7efa68 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -930,7 +930,7 @@ $(window).resize(function () { }); //when page unload $(window).on('unload', function () { - updateHistoryInner(); + //updateHistoryInner(); }); $(window).on('error', function () { //setNeedRefresh(); -- cgit v1.2.3