use window.requestIdleCallback to sync observed modifications

master
Andrew Dolgov 6 years ago
parent df434293cd
commit 36f3299ddf

@ -38,7 +38,9 @@ define(["dojo/_base/declare"], function (declare) {
Headlines.updateSelectedPrompt();
Headlines.updateFloatingTitle(true);
window.requestIdleCallback(() => {
Headlines.syncModified(modified);
});
}),
syncModified: function(modified) {
const ops = {

Loading…
Cancel
Save