Browse Source

Fix c&p error

joshaber 8 years ago
parent
commit
2749ded062
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/browser/api/dialog.js

+ 1 - 1
lib/browser/api/dialog.js

@@ -288,7 +288,7 @@ module.exports = {
     }
 
     let {certificate, message} = options
-    if (certificate == null || typeof options !== 'object') {
+    if (certificate == null || typeof certificate !== 'object') {
       throw new TypeError('certificate must be an object')
     }