aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/admin/config.yml4
-rw-r--r--static/sw.js14
2 files changed, 2 insertions, 16 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
index 7749a76..2909785 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -13,8 +13,8 @@ backend:
name: git-gateway
media_folder: "static/img"
public_folder: "/img"
- # Do not change this!
- collections:
+# Do not change this!
+collections:
# Used in routes, e.g., /admin/collections/blog
- name: "issue"
# Used in the UI
diff --git a/static/sw.js b/static/sw.js
deleted file mode 100644
index e778677..0000000
--- a/static/sw.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict';
-
-self.addEventListener('notificationclick', function(e) {
- var notification = e.notification;
- var primaryKey = notification.data.primaryKey;
- var action = e.action;
-
- if (action === 'close') {
- notification.close();
- } else {
- clients.openWindow(permalink);
- notification.close();
- }
-});