Merge pull request #617 from mathiasrw/patch-1

Correct check for undefined variable
pull/2/head
Raymond Hill 8 years ago committed by GitHub
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…
Cancel
Save