aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorMantas <11616378+mistermantas@users.noreply.github.com>2018-07-24 17:04:23 +0300
committerMantas <11616378+mistermantas@users.noreply.github.com>2018-07-24 17:04:23 +0300
commitaacd468d9e5cae4e689f9f70e932d9a496d6a6ba (patch)
treed4e62c6fcde9439f6026f89c813ec93a16057acb /static
parent88a199b6c0576a35bae67a241c20370b629dd7cd (diff)
Netlify CMS stuff
Diffstat (limited to 'static')
-rw-r--r--static/sw.js14
1 files changed, 0 insertions, 14 deletions
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();
- }
-});