Skip to content

Commit

Permalink
feat: remove banner, add channeltalk
Browse files Browse the repository at this point in the history
  • Loading branch information
UrWrstNightmare committed Aug 11, 2024
1 parent 75425da commit 4f10ef1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@
</head>
<body>
<noscript> You need to enable JavaScript to run this app. </noscript>
<script>
(function(){var w=window;if(w.ChannelIO){return w.console.error("ChannelIO script included twice.");}var ch=function(){ch.c(arguments);};ch.q=[];ch.c=function(args){ch.q.push(args);};w.ChannelIO=ch;function l(){if(w.ChannelIOInitialized){return;}w.ChannelIOInitialized=true;var s=document.createElement("script");s.type="text/javascript";s.async=true;s.src="https://cdn.channel.io/plugin/ch-plugin-web.js";var x=document.getElementsByTagName("script")[0];if(x.parentNode){x.parentNode.insertBefore(s,x);}}if(document.readyState==="complete"){l();}else{w.addEventListener("DOMContentLoaded",l);w.addEventListener("load",l);}})();

ChannelIO('boot', {
"pluginKey": "e9a8f127-acb9-464e-a4d1-674e23d28525"
});
</script>
<div id="root"></div>
<div id="popup-root"></div>
<script type="module" src="/src/index.jsx"></script>
Expand Down
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class App extends Component {

this.state = {
doNotShowAgain: !showPopup,
popupOpen: showPopup,
popupOpen: false, // 2024-08-12 soft-disable web banner
};
}

Expand Down

0 comments on commit 4f10ef1

Please sign in to comment.