Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Commit

Permalink
Fix checking options value
Browse files Browse the repository at this point in the history
  • Loading branch information
ttsvetko committed May 3, 2016
1 parent db64a19 commit ea6ba49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Notification.js
Expand Up @@ -47,7 +47,7 @@
throw TypeError('Failed to construct \'Notification\': 1 argument required, but only 0 present.');
}

if (options && 'Object' !== typeof options) {
if (options && 'object' !== typeof options) {
throw TypeError('Failed to construct \'Notification\': parameter 2 (\'options\') is not an object.');
}

Expand Down

0 comments on commit ea6ba49

Please sign in to comment.