Fix authorship might losing update event because of throttling

This commit is contained in:
Wu Cheng-Han 2017-01-02 11:05:49 +08:00
parent b1ec3ba748
commit 0db4358adb

View file

@ -2443,7 +2443,7 @@ function updateInfo(data) {
updateAuthorship();
}
}
var updateAuthorship = _.throttle(function () {
var updateAuthorship = _.debounce(function () {
editor.operation(updateAuthorshipInner);
}, 50);
function initMark() {