diff --git a/resources/skins.citizen.scripts/skin.js b/resources/skins.citizen.scripts/skin.js index 1e69b9a16..6f23483b2 100644 --- a/resources/skins.citizen.scripts/skin.js +++ b/resources/skins.citizen.scripts/skin.js @@ -94,8 +94,7 @@ function main( window ) { } // Defer non-essential tasks - // eslint-disable-next-line compat/compat - requestIdleCallback( deferredTasks, { timeout: 3000 } ); + mw.requestIdleCallback( deferredTasks, { timeout: 3000 } ); } if ( document.readyState === 'interactive' || document.readyState === 'complete' ) {