Hacker News new | ask | show | jobs
by megous 2354 days ago
I'm doing this:

https://megous.com/dl/tmp/sub.txt

I guess this is then happening because I'm first checking if there's a subscription via `pushManager.getSubscription` before creating a new one in the event handler.

Yep, dropping getSubscription makes the popup appear again.