mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-11 18:32:23 +02:00
do not remove flippedState class if shouldFlip !== true
This commit is contained in:
parent
dfafebc50a
commit
cdc06efbf9
|
@ -647,8 +647,6 @@ class Choices {
|
||||||
|
|
||||||
if (shouldFlip) {
|
if (shouldFlip) {
|
||||||
this.containerOuter.classList.add(this.config.classNames.flippedState);
|
this.containerOuter.classList.add(this.config.classNames.flippedState);
|
||||||
} else {
|
|
||||||
this.containerOuter.classList.remove(this.config.classNames.flippedState);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Optionally focus the input if we have a search input
|
// Optionally focus the input if we have a search input
|
||||||
|
|
Loading…
Reference in a new issue