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