diff options
author | Mantas <11616378+mistermantas@users.noreply.github.com> | 2018-08-02 18:29:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-02 18:29:24 +0300 |
commit | 86373cd7132dfc79fee8931764c1b3b67fe597c7 (patch) | |
tree | 4480475d0284065f0e3a1107711d0367d2a216a9 /static | |
parent | 88a199b6c0576a35bae67a241c20370b629dd7cd (diff) | |
parent | 4aa7641385b2ae9e6a820778649728d42bce5607 (diff) |
v2.0-rc2 || Merge PR #14
Diffstat (limited to 'static')
-rw-r--r-- | static/admin/config.yml | 4 | ||||
-rw-r--r-- | static/sw.js | 14 |
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(); - } -}); |