Use === for string comparison

This commit is contained in:
Kevin Sawicki 2016-09-08 17:11:10 -07:00
parent 7d24df34fc
commit daf1eec5ec

View file

@ -139,7 +139,7 @@ window.open = function (url, frameName, features) {
} }
// Resolve relative urls. // Resolve relative urls.
if (url == null || url == '') { if (url == null || url === '') {
url = 'about:blank' url = 'about:blank'
} else { } else {
url = resolveURL(url) url = resolveURL(url)