From daf1eec5ecc021acabb35583836ff2efefbb7870 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 8 Sep 2016 17:11:10 -0700 Subject: [PATCH] Use === for string comparison --- lib/renderer/override.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/renderer/override.js b/lib/renderer/override.js index b5d6cb2e46df..29cf9f5acaec 100644 --- a/lib/renderer/override.js +++ b/lib/renderer/override.js @@ -139,7 +139,7 @@ window.open = function (url, frameName, features) { } // Resolve relative urls. - if (url == null || url == '') { + if (url == null || url === '') { url = 'about:blank' } else { url = resolveURL(url)