mirror of
https://github.com/status-im/codimd.git
synced 2025-01-26 20:19:22 +00:00
Fix authorship might losing update event because of throttling
This commit is contained in:
parent
b1ec3ba748
commit
0db4358adb
@ -2443,7 +2443,7 @@ function updateInfo(data) {
|
||||
updateAuthorship();
|
||||
}
|
||||
}
|
||||
var updateAuthorship = _.throttle(function () {
|
||||
var updateAuthorship = _.debounce(function () {
|
||||
editor.operation(updateAuthorshipInner);
|
||||
}, 50);
|
||||
function initMark() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user