mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-02 22:03:11 +02:00
Update build files 🏗
This commit is contained in:
parent
0e8e42e015
commit
d2516e7de3
|
@ -3455,7 +3455,9 @@ function () {
|
|||
itemChoice: 'item-choice'
|
||||
}; // Assign preset groups from passed element
|
||||
|
||||
this._presetGroups = this.passedElement.optionGroups; // Assign preset choices from passed object
|
||||
this._presetGroups = this.passedElement.optionGroups; // Assign preset options from passed element
|
||||
|
||||
this._presetOptions = this.passedElement.options; // Assign preset choices from passed object
|
||||
|
||||
this._presetChoices = this.config.choices; // Assign preset items from passed object first
|
||||
|
||||
|
@ -3555,12 +3557,12 @@ function () {
|
|||
|
||||
this.passedElement.reveal();
|
||||
this.containerOuter.unwrap(this.passedElement.element);
|
||||
this.clearStore();
|
||||
|
||||
if (this._isSelectElement) {
|
||||
this.passedElement.options = this._presetChoices;
|
||||
this.passedElement.options = this._presetOptions;
|
||||
}
|
||||
|
||||
this.clearStore();
|
||||
this._templates = null;
|
||||
this.initialised = false;
|
||||
};
|
||||
|
|
2
public/assets/scripts/choices.min.js
vendored
2
public/assets/scripts/choices.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue