do not remove flippedState class if shouldFlip !== true

This commit is contained in:
Adam Mockor 2017-05-02 15:17:57 +02:00
parent dfafebc50a
commit cdc06efbf9

View file

@ -647,8 +647,6 @@ class Choices {
if (shouldFlip) {
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