mirror of https://github.com/status-im/codimd.git
Cancel update history on page unload
This commit is contained in:
parent
12d5ed43a7
commit
e60ee6886d
|
@ -930,7 +930,7 @@ $(window).resize(function () {
|
|||
});
|
||||
//when page unload
|
||||
$(window).on('unload', function () {
|
||||
updateHistoryInner();
|
||||
//updateHistoryInner();
|
||||
});
|
||||
$(window).on('error', function () {
|
||||
//setNeedRefresh();
|
||||
|
|
Loading…
Reference in New Issue