diff --git a/src/js/controls.js b/src/js/controls.js index d79aaee7..2e18debc 100644 --- a/src/js/controls.js +++ b/src/js/controls.js @@ -187,7 +187,7 @@ const controls = { } if ('class' in attributes) { - if (attributes.class.includes(this.config.classNames.control)) { + if (!attributes.class.includes(this.config.classNames.control)) { attributes.class += ` ${this.config.classNames.control}`; } } else {