From aacd468d9e5cae4e689f9f70e932d9a496d6a6ba Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Tue, 24 Jul 2018 17:04:23 +0300 Subject: Netlify CMS stuff --- static/sw.js | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 static/sw.js (limited to 'static') 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(); - } -}); -- cgit v1.2.3-70-g09d2