Skip to content

Commit 9a9980d

Browse files
authored
fix: remove docsbot ai (#1501)
1 parent 17d23c1 commit 9a9980d

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

src/index.template.html

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -107,44 +107,6 @@
107107
</noscript>
108108
<!-- End Google Tag Manager (noscript) -->
109109

110-
<!-- DocsBotAI -->
111-
<script type="text/javascript">
112-
(window.DocsBotAI = window.DocsBotAI || {}),
113-
(DocsBotAI.init = function (c) {
114-
return new Promise(function (e, o) {
115-
var t = document.createElement('script');
116-
(t.type = 'text/javascript'),
117-
(t.async = !0),
118-
(t.src = 'https://widget.docsbot.ai/chat.js');
119-
var n = document.getElementsByTagName('script')[0];
120-
n.parentNode.insertBefore(t, n),
121-
t.addEventListener('load', function () {
122-
window.DocsBotAI.mount({ id: c.id, supportCallback: c.supportCallback });
123-
var t;
124-
(t = function (n) {
125-
return new Promise(function (e) {
126-
if (document.querySelector(n)) return e(document.querySelector(n));
127-
var o = new MutationObserver(function (t) {
128-
document.querySelector(n) && (e(document.querySelector(n)), o.disconnect());
129-
});
130-
o.observe(document.body, { childList: !0, subtree: !0 });
131-
});
132-
}),
133-
t && t('#docsbotai-root').then(e).catch(o);
134-
}),
135-
t.addEventListener('error', function (t) {
136-
o(t.message);
137-
});
138-
});
139-
});
140-
</script>
141-
<script type="text/javascript">
142-
// Memo: It's safe to commit
143-
DocsBotAI.init({ id: 'gwMu35niKNNHtbsN9kY3/Y8b6TlCngQxWpl3MHmpI' });
144-
</script>
145-
146-
<!-- End DocsBotAI -->
147-
148110
<!-- Splash screen -->
149111
<div id="splash">
150112
<!-- <img id="bg-image" class="background" src="images/splash.png" /> -->

0 commit comments

Comments
 (0)