Removed theme.js console noise.
This commit is contained in:
parent
ff7f81d667
commit
2d73fbbee1
|
@ -46,14 +46,14 @@
|
||||||
if (patchSheet(s)) return true;
|
if (patchSheet(s)) return true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// cross-site stylesheet?
|
// cross-site stylesheet?
|
||||||
console.error(e, s.href);
|
debug(e, s.href); // DEV_ONLY
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!patchAll()) {
|
if (!patchAll()) {
|
||||||
console.error("Couldn't patch sheets while loading, deferring to onload");
|
debug("Couldn't patch sheets while loading, deferring to onload"); // DEV_ONLY
|
||||||
let onload = e => {
|
let onload = e => {
|
||||||
if (patchAll()) {
|
if (patchAll()) {
|
||||||
removeEventListener(e.type, onload, true);
|
removeEventListener(e.type, onload, true);
|
||||||
|
|
Loading…
Reference in New Issue