From: joshaber Date: Tue, 4 Apr 2017 15:45:27 +0000 (-0400) Subject: Fix c&p error X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2749ded062c820e0680d802698a67eb82c8eab51;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Fix c&p error --- diff --git a/lib/browser/api/dialog.js b/lib/browser/api/dialog.js index 908ffaf..215d3f2 100644 --- a/lib/browser/api/dialog.js +++ b/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') }