Skip to content

Commit 2d73fbb

Browse files
committed
Removed theme.js console noise.
1 parent ff7f81d commit 2d73fbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/themes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@
4646
if (patchSheet(s)) return true;
4747
} catch (e) {
4848
// cross-site stylesheet?
49-
console.error(e, s.href);
49+
debug(e, s.href); // DEV_ONLY
5050
}
5151
}
5252
return false;
5353
}
5454

5555
if (!patchAll()) {
56-
console.error("Couldn't patch sheets while loading, deferring to onload");
56+
debug("Couldn't patch sheets while loading, deferring to onload"); // DEV_ONLY
5757
let onload = e => {
5858
if (patchAll()) {
5959
removeEventListener(e.type, onload, true);

0 commit comments

Comments
 (0)