We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4cae27 commit ceb5ef5Copy full SHA for ceb5ef5
layouts/partials/banner-scott.html
@@ -43,7 +43,6 @@
43
const url = isHidden ? "/pulse/log/?banner-hidden" : "/pulse/log/?banner-seen";
44
const requestId = randomString(7);
45
const urlUnique = `${url}-${requestId}`
46
- console.log(`updating banner state ${requestId}`);
47
fetch(urlUnique);
48
}
49
@@ -69,14 +68,11 @@
69
68
try {
70
const hideBannerAtStartup = JSON.parse(localStorage.getItem("bannerIsHidden")) == true;
71
if (hideBannerAtStartup) {
72
- console.log("banner disabled at startup");
73
toggleBannerVisibility();
74
} else {
75
- console.log("banner visible at startup");
76
reportBannerState();
77
78
} catch (error) {
79
- console.log("banner visible at startup (no access to local storage)");
80
81
82
0 commit comments