1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 06:35:55 +00:00

requestIdleCallback: remove hard dependency for now

This commit is contained in:
Andrew Dolgov
2018-12-11 17:58:10 +03:00
parent 54aeb6f592
commit 721f9ad866
2 changed files with 6 additions and 3 deletions

View File

@@ -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;