Skip to content

Commit

Permalink
Fixes #1592 Fixes #1591
Browse files Browse the repository at this point in the history
  • Loading branch information
petkaantonov committed May 24, 2019
1 parent 17f69f3 commit b96656e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/schedule.js
Expand Up @@ -31,7 +31,8 @@ if (util.isNode && typeof MutationObserver === "undefined") {
} else if ((typeof MutationObserver !== "undefined") &&
!(typeof window !== "undefined" &&
window.navigator &&
(window.navigator.standalone || window.cordova))) {
(window.navigator.standalone || window.cordova)) &&
("classList" in document.documentElement)) {
schedule = (function() {
// Using 2 mutation observers to batch multiple updates into one.
var div = document.createElement("div");
Expand Down

0 comments on commit b96656e

Please sign in to comment.