mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-10 01:26:34 +02:00
Typos
This commit is contained in:
parent
4070b6842f
commit
1a1b05e662
|
@ -313,7 +313,7 @@ class Choices {
|
|||
const choicesFragment = fragment || document.createDocumentFragment();
|
||||
const filter = this.isSearching ? sortByScore : this.config.sortFilter;
|
||||
|
||||
// Split array into placeholedrs and "normal" choices
|
||||
// Split array into placeholders and "normal" choices
|
||||
const { placeholderChoices, normalChoices } = choices.reduce((acc, choice) => {
|
||||
if (choice.placeholder) {
|
||||
acc.placeholderChoices.push(choice);
|
||||
|
@ -2374,7 +2374,7 @@ class Choices {
|
|||
});
|
||||
});
|
||||
|
||||
// Split array into placeholedrs and "normal" choices
|
||||
// Split array into placeholders and "normal" choices
|
||||
const { placeholderChoices, normalChoices } = allChoices.reduce((acc, choice) => {
|
||||
if (choice.placeholder) {
|
||||
acc.placeholderChoices.push(choice);
|
||||
|
|
|
@ -453,7 +453,6 @@
|
|||
|
||||
var singlePlaceholderOption = new Choices('#choices-placeholder-option', {
|
||||
removeItemButton: false,
|
||||
preselectItem: false,
|
||||
shouldSort: false,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue