diff --git a/core/misc/states.es6.js b/core/misc/states.es6.js index b324681a77..57ffa8c7b1 100644 --- a/core/misc/states.es6.js +++ b/core/misc/states.es6.js @@ -376,7 +376,7 @@ // Only call the trigger initializer when it wasn't yet attached to this // element. Otherwise we'd end up with duplicate events. - if (this.element.data(`trigger:${this.state}`) !== undefined) { + if (this.element.data(`trigger:${this.state}`) === undefined) { this.initialize(); } }