From b95a8760e46e3b29d00a6a5ffd672546a5aac992 Mon Sep 17 00:00:00 2001 From: Xe Date: Sun, 19 Dec 2021 18:14:45 +0000 Subject: [PATCH] fix JS Signed-off-by: Xe --- static/js/conversation.js | 1 + static/js/sw.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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');