Clean up site template scripts
Committed c2608f
--- a/canopy/templates/template.html
+++ b/canopy/templates/template.html
}
}
}
-</script>
-
-<script src=/chats/resources/js/antiglobal.js></script>
-<script>
-window.localStorage.setItem('debug', '* -engine* -socket* -RIE* *WARN* *ERROR*')
-if (window.antiglobal) {
- window.antiglobal('___browserSync___oldSocketIo', 'io', '___browserSync___', '__core-js_shared__')
- setInterval(window.antiglobal, 180000)
-}
-</script>
-<script>
window.onload = () => {
const listenTrigger = document.querySelector('button#listen')
listenTrigger.onmouseup = () => {
}
</script>
+<script src=/chats/resources/js/antiglobal.js></script>
+<script>
+window.localStorage.setItem('debug', '* -engine* -socket* -RIE* *WARN* *ERROR*')
+if (window.antiglobal) {
+ window.antiglobal('___browserSync___oldSocketIo', 'io', '___browserSync___', '__core-js_shared__')
+ setInterval(window.antiglobal, 180000)
+}
+</script>
+
<script src=https://cdn.jsdelivr.net/npm/webtorrent@latest/webtorrent.min.js></script>
<script src=https://cdn.jsdelivr.net/npm/drag-drop@latest/dragdrop.min.js></script>
<script type=module>