diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-04-05 20:42:23 +0300 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2020-04-05 20:42:23 +0300 |
commit | 22a97d916fc6ecab1200b0ffea18cf2d5c9923d4 (patch) | |
tree | 398951de43ca77acd6174c5846313e1b269422c7 /ext/mixed | |
parent | 5596a8f6f7e23f6dfe45dc83bf077b0b688b84fb (diff) |
fix NOT (a OR B) to NOT (a AND b)
Diffstat (limited to 'ext/mixed')
-rw-r--r-- | ext/mixed/js/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/core.js b/ext/mixed/js/core.js index 6d0a5f0e..db7fc69b 100644 --- a/ext/mixed/js/core.js +++ b/ext/mixed/js/core.js @@ -319,7 +319,7 @@ const yomichan = (() => { getTemporaryListenerResult(eventHandler, userCallback, timeout=null) { if (!( - typeof eventHandler.addListener === 'function' || + typeof eventHandler.addListener === 'function' && typeof eventHandler.removeListener === 'function' )) { throw new Error('Event handler type not supported'); |