Fix window.open-defuser

Matching logic has been erronesouly reverse.
This commit is contained in:
Raymond Hill 2019-07-05 07:59:02 -04:00
parent a992875c94
commit 3e53963be3
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
(function() {
'use strict';
let result = parseInt('{{1}}', 10);
result = isNaN(result) || result !== 0;
result = isNaN(result) === false && result === 0;
let needle = '{{2}}';
if ( needle === '' || needle === '{{2}}' ) {
needle = '.?';