Leave cookie js in head on load
Committed df18b3
--- a/canopy/static/enliven.js
+++ b/canopy/static/enliven.js
let btclient
-injectScript('/assets/js-cookie-3.0.5.js')
+// injectScript('/assets/js-cookie-3.0.5.js')
// TODO $.load(...)
document.addEventListener('DOMContentLoaded', ev => {
--- a/canopy/templates/template.html
+++ b/canopy/templates/template.html
height: 2.6em;
width: 2.6em; }
</style>
+<script src=/assets/js-cookie-3.0.5.js></script>
<script>
$if "session" in tx.user and tx.user.session.get("uid", None):
$ username = tx.user.session["name"][0]