From 640a405b7f179a1428b40459476a603b5a1d3b50 Mon Sep 17 00:00:00 2001 From: Horizon <719064708@qq.com> Date: Thu, 18 Apr 2019 22:15:00 +0800 Subject: [PATCH] Update schedule.js fix a potential problem in schedule.js --- src/schedule.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schedule.js b/src/schedule.js index 0aace9c21..94266b6bb 100644 --- a/src/schedule.js +++ b/src/schedule.js @@ -29,6 +29,7 @@ if (util.isNode && typeof MutationObserver === "undefined") { // do not fire DOM mutation events for some reason on iOS 8.3+ and cordova // apps which have the same bug but are not `.navigator.standalone` } else if ((typeof MutationObserver !== "undefined") && + ("classList" in document.documentElement) !(typeof window !== "undefined" && window.navigator && (window.navigator.standalone || window.cordova))) {