From 1a1b05e66252b4144b071cc023ff1e0b109e66dc Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Fri, 7 Apr 2017 09:16:51 +0100 Subject: [PATCH] Typos --- assets/scripts/src/choices.js | 4 ++-- index.html | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/scripts/src/choices.js b/assets/scripts/src/choices.js index d6a4099..17ae873 100644 --- a/assets/scripts/src/choices.js +++ b/assets/scripts/src/choices.js @@ -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); diff --git a/index.html b/index.html index 68f0731..ad76700 100644 --- a/index.html +++ b/index.html @@ -453,7 +453,6 @@ var singlePlaceholderOption = new Choices('#choices-placeholder-option', { removeItemButton: false, - preselectItem: false, shouldSort: false, });