Last active
May 25, 2018 15:46
-
-
Save sebholstein/e2290dab51744aecb1d863610569226d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ('Notification' in window && Notification.permission === 'granted') { | |
// it's save to send notifications here if you want to... | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment