Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jshjohnson committed Apr 7, 2017
1 parent 4070b68 commit 1a1b05e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/scripts/src/choices.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ <h2>Single select input</h2>

var singlePlaceholderOption = new Choices('#choices-placeholder-option', {
removeItemButton: false,
preselectItem: false,
shouldSort: false,
});

Expand Down

0 comments on commit 1a1b05e

Please sign in to comment.