Use === for string comparison
This commit is contained in:
parent
7d24df34fc
commit
daf1eec5ec
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue