mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-24 00:04:11 +00:00
Fix authorship might losing update event because of throttling
This commit is contained in:
parent
b1ec3ba748
commit
0db4358adb
1 changed files with 1 additions and 1 deletions
|
@ -2443,7 +2443,7 @@ function updateInfo(data) {
|
|||
updateAuthorship();
|
||||
}
|
||||
}
|
||||
var updateAuthorship = _.throttle(function () {
|
||||
var updateAuthorship = _.debounce(function () {
|
||||
editor.operation(updateAuthorshipInner);
|
||||
}, 50);
|
||||
function initMark() {
|
||||
|
|
Loading…
Reference in a new issue