aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe <me@christine.website>2021-12-19 18:14:45 +0000
committerXe <me@christine.website>2021-12-19 18:14:45 +0000
commitb95a8760e46e3b29d00a6a5ffd672546a5aac992 (patch)
treee82744a8d4d11bbab6c0e9e575dbe6bf09edd5c0
parent66fd857b569007f9e6e1452e2454b8fab46b4840 (diff)
downloadxesite-b95a8760e46e3b29d00a6a5ffd672546a5aac992.tar.xz
xesite-b95a8760e46e3b29d00a6a5ffd672546a5aac992.zip
fix JS
Signed-off-by: Xe <me@christine.website>
-rw-r--r--static/js/conversation.js1
-rwxr-xr-xstatic/js/sw.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/static/js/conversation.js b/static/js/conversation.js
index d20865f..95626f0 100644
--- a/static/js/conversation.js
+++ b/static/js/conversation.js
@@ -26,6 +26,7 @@ export class Conversation extends HTMLElement {
let who = this.getAttribute("name");
let mood = this.getAttribute("mood");
+ root.appendChild(h("link", {rel: "stylesheet", href: "/css/hack.css"}));
root.appendChild(h("link", {rel: "stylesheet", href: "/css/gruvbox-dark.css"}));
root.appendChild(h("link", {rel: "stylesheet", href: "/css/shim.css"}));
root.appendChild(h("style", {textContent: `img { width: 67%; }`}));
diff --git a/static/js/sw.js b/static/js/sw.js
index 72aaad6..e0d62fb 100755
--- a/static/js/sw.js
+++ b/static/js/sw.js
@@ -5,7 +5,7 @@ self.addEventListener('install', function (event) {
event.waitUntil(preLoad());
});
-const cacheName = "cache-xesite-2.3.0-4";
+const cacheName = "cache-xesite-2.3.0-999";
var preLoad = function () {
console.log('[PWA Builder] Install Event processing');