From 508d3629adb79fcdb12c508db1ff377a0ae8b378 Mon Sep 17 00:00:00 2001 From: bat Date: Mon, 3 Apr 2023 21:15:13 +0000 Subject: [PATCH 1/3] bump --- sw.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sw.js b/sw.js index ec22340..0ff9269 100644 --- a/sw.js +++ b/sw.js @@ -9,9 +9,9 @@ async function initCache() { '/components/header.js', '/components/nav-menu.js', '/components/dialog.js', - '/forms/button-group.js', - '/menu/dropdown.js', - ]) + '/forms/button-group.js, + '/menu/dropdown.js, + ]) //1 } self.addEventListener("install", event => { From bd0dcb45754928db1b8c1faefe3ef49df0bcb596 Mon Sep 17 00:00:00 2001 From: bat Date: Mon, 3 Apr 2023 21:17:59 +0000 Subject: [PATCH 2/3] Fix quoting --- sw.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw.js b/sw.js index 0ff9269..5be9c44 100644 --- a/sw.js +++ b/sw.js @@ -9,8 +9,8 @@ async function initCache() { '/components/header.js', '/components/nav-menu.js', '/components/dialog.js', - '/forms/button-group.js, - '/menu/dropdown.js, + '/forms/button-group.js', + '/menu/dropdown.js', ]) //1 } From f567dc7b8ae9c82a6ff34ce740ed99cab5334f4f Mon Sep 17 00:00:00 2001 From: bat Date: Mon, 3 Apr 2023 21:19:05 +0000 Subject: [PATCH 3/3] Fix header icon spacing and vlocation --- components/header.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/header.js b/components/header.js index 43fe0a3..e0c4058 100644 --- a/components/header.js +++ b/components/header.js @@ -104,7 +104,7 @@ export class Header extends HTMLElement { padding: 0 8px; } button.left-end { - padding-right: 12px; + padding-left: 12px; } button.right-end { padding-right: 12px; @@ -239,7 +239,7 @@ export class Header extends HTMLElement { ) localStorage.removeItem(this.path) dialog.close() - vlocation.hash = newPath + location.hash = newPath }) bGroup.addCancel(this.text.cancel, () => { dialog.close() @@ -263,7 +263,7 @@ export class Header extends HTMLElement { ) bGroup.addPrimary(this.text.delete, () => { localStorage.removeItem(this.path) - vlocation.hash = '/' + location.hash = '/' dialog.close() }) bGroup.addCancel(this.text.cancel, () => { @@ -315,7 +315,7 @@ export class Header extends HTMLElement { ) bGroup.addPrimary(this.text.createPage, () => { const newPath = this.encodePath(input.value) - vlocation.hash = newPath + location.hash = newPath dialog.close() }) bGroup.addCancel(this.text.cancel, () => {