]> cat aescling's git repositories - mastodon.git/commit
fix(web_push_notification): Do not hard reload tab (#4380)
authorSorin Davidoi <sorin.davidoi@gmail.com>
Fri, 28 Jul 2017 03:06:01 +0000 (05:06 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 28 Jul 2017 03:06:01 +0000 (05:06 +0200)
commit3e01a7e6774fe92658d2afbb2c957afa431018b3
treefaf328cff47b6660400a7865d7b6f5c86b1bf96e
parent0f92119cebbebc463960c5532a049277ec1706be
fix(web_push_notification): Do not hard reload tab (#4380)

* fix(web_push_notification): Do not hard reload tab

* fix(web_push_notification_worker): Guard against null subscription

* refactor: Incorporate pull request feedback
app/javascript/mastodon/features/ui/index.js
app/javascript/mastodon/service_worker/web_push_notifications.js