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.
|
// 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)
|
||||||
|
|
Loading…
Reference in a new issue