Cancel update history on page unload

This commit is contained in:
Wu Cheng-Han 2016-10-10 21:04:42 +08:00
parent 12d5ed43a7
commit e60ee6886d

View file

@ -930,7 +930,7 @@ $(window).resize(function () {
});
//when page unload
$(window).on('unload', function () {
updateHistoryInner();
//updateHistoryInner();
});
$(window).on('error', function () {
//setNeedRefresh();