1
0
Fork 0
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:
Raymond Hill 2016-09-12 08:10:10 -04:00 committed by GitHub
commit fb3a259e41

View file

@ -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'
) {