Merge pull request #1070 from mimse/fix_condition_check
Fixed condition check
This commit is contained in:
commit
4f5152f526
2
src/js/controls.js
vendored
2
src/js/controls.js
vendored
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user