Commit 0db4358a authored by Wu Cheng-Han's avatar Wu Cheng-Han
Browse files

Fix authorship might losing update event because of throttling

parent b1ec3ba7
......@@ -2443,7 +2443,7 @@ function updateInfo(data) {
updateAuthorship();
}
}
var updateAuthorship = _.throttle(function () {
var updateAuthorship = _.debounce(function () {
editor.operation(updateAuthorshipInner);
}, 50);
function initMark() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment