use window.requestIdleCallback to sync observed modifications
This commit is contained in:
parent
df434293cd
commit
36f3299ddf
|
@ -38,7 +38,9 @@ define(["dojo/_base/declare"], function (declare) {
|
||||||
Headlines.updateSelectedPrompt();
|
Headlines.updateSelectedPrompt();
|
||||||
Headlines.updateFloatingTitle(true);
|
Headlines.updateFloatingTitle(true);
|
||||||
|
|
||||||
Headlines.syncModified(modified);
|
window.requestIdleCallback(() => {
|
||||||
|
Headlines.syncModified(modified);
|
||||||
|
});
|
||||||
}),
|
}),
|
||||||
syncModified: function(modified) {
|
syncModified: function(modified) {
|
||||||
const ops = {
|
const ops = {
|
||||||
|
|
Loading…
Reference in New Issue