Commit e33e0de2 authored by Jacob Schatz's avatar Jacob Schatz Committed by Phil Hughes

Checks if Notification API exists before requesting permission.

parent 00deaaaf
...@@ -24,4 +24,5 @@ ...@@ -24,4 +24,5 @@
return return
) window ) window
Notification.requestPermission() if 'Notification' of window
\ No newline at end of file Notification.requestPermission()
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment