Skip to content

Instantly share code, notes, and snippets.

@vldvel
Created March 14, 2018 07:27
Show Gist options
  • Save vldvel/38819d42e586f3b87084f7218fd0be39 to your computer and use it in GitHub Desktop.
Save vldvel/38819d42e586f3b87084f7218fd0be39 to your computer and use it in GitHub Desktop.
Notification check
if (!('Notification' in window)) {
// Place notification logic here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment