diff options
-rw-r--r-- | ext/js/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/core.js b/ext/js/core.js index 9b95c407..16d81b67 100644 --- a/ext/js/core.js +++ b/ext/js/core.js @@ -426,7 +426,7 @@ class EventDispatcher { */ off(eventName, callback) { const callbacks = this._eventMap.get(eventName); - if (typeof callbacks === 'undefined') { return true; } + if (typeof callbacks === 'undefined') { return false; } const ii = callbacks.length; for (let i = 0; i < ii; ++i) { |