aboutsummaryrefslogtreecommitdiff
path: root/static/index.js
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-12-17 16:01:19 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2025-12-17 16:01:19 +0100
commit2f0b09dcb4595b3a5c4204e82b1cddd511a53743 (patch)
tree38f05f0ea4b49c461946c4c6348e38ae815b8610 /static/index.js
parentaa7cb18b17dc169c0b1134bfa61fe3f7809c0f1f (diff)
fix remove reorder
Diffstat (limited to 'static/index.js')
-rw-r--r--static/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/static/index.js b/static/index.js
index 74386a1..0dbb2db 100644
--- a/static/index.js
+++ b/static/index.js
@@ -12,6 +12,8 @@ import SettingsView from './pages/settings/index.js';
import ShuffleView from './pages/shuffle/index.js';
import UploadBar from './widgets/upload-bar/index.js';
+await service_worker.register()
+
sfw.theme.add_css(await sfw.css(import.meta.url, './index.css'));
const image_viewer = ImageViewer.new();