Browse Source

Merge pull request #617 from mathiasrw/patch-1

Correct check for undefined variable
pull/2/head
Raymond Hill 8 years ago
committed by GitHub
parent
commit
fb3a259e41
  1. 2
      src/js/user-rules.js

2
src/js/user-rules.js

@ -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