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.
if (url == null || url == '') {
if (url == null || url === '') {
url = 'about:blank'
} else {
url = resolveURL(url)