@ -40,9 +40,12 @@ define(["dojo/_base/declare"], function (declare) {
Headlines.updateSelectedPrompt();
Headlines.updateFloatingTitle(true);
if ('requestIdleCallback' in window)
window.requestIdleCallback(() => {
Headlines.syncModified(modified);
});
else
}),
syncModified: function(modified) {
const ops = {
@ -95,7 +95,7 @@ require(["dojo/_base/kernel",
checkBrowserFeatures: function() {
let errorMsg = "";
['requestIdleCallback', 'MutationObserver'].each(function(wf) {
['MutationObserver'].each(function(wf) {
if (! (wf in window)) {
errorMsg = `Browser feature check failed: <code>window.${wf}</code> not found.`;
throw $break;