summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorWu Cheng-Han2016-10-10 21:04:42 +0800
committerWu Cheng-Han2016-10-10 21:04:42 +0800
commite60ee6886d63bb4aa08165f63c13176cca5d6965 (patch)
treef412a3765224f81b30260fe30f0ec92a781cc13b /public/js
parent12d5ed43a7376e0ca361160698f07066218d6ed2 (diff)
Cancel update history on page unload
Diffstat (limited to '')
-rw-r--r--public/js/index.js2
1 files changed, 1 insertions, 1 deletions
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();