mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-30 09:06:56 +13:00
Merge pull request #617 from mathiasrw/patch-1
Correct check for undefined variable
This commit is contained in:
commit
fb3a259e41
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ var fromNoScript = function(content) {
|
||||||
noscript === null ||
|
noscript === null ||
|
||||||
typeof noscript !== 'object' ||
|
typeof noscript !== 'object' ||
|
||||||
typeof noscript.prefs !== 'object' ||
|
typeof noscript.prefs !== 'object' ||
|
||||||
typeof noscript.prefs.clearClick === undefined ||
|
typeof noscript.prefs.clearClick === 'undefined' ||
|
||||||
typeof noscript.whitelist !== 'string' ||
|
typeof noscript.whitelist !== 'string' ||
|
||||||
typeof noscript.V !== 'string'
|
typeof noscript.V !== 'string'
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in a new issue