mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 11:24:37 +00:00
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
|
//when page unload
|
||||||
$(window).on('unload', function () {
|
$(window).on('unload', function () {
|
||||||
updateHistoryInner();
|
//updateHistoryInner();
|
||||||
});
|
});
|
||||||
$(window).on('error', function () {
|
$(window).on('error', function () {
|
||||||
//setNeedRefresh();
|
//setNeedRefresh();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user