diff --git a/README.md b/README.md index 3dbb224..f471862 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,11 @@ Or include Choices directly: flippedState: 'is-flipped', loadingState: 'is-loading', }, + // Choices uses the great Fuse library for searching. You + // can find more options here: https://github.com/krisk/Fuse#options + fuseOptions: { + include: 'score', + }, callbackOnInit: null, callbackOnCreateTemplates: null, }); diff --git a/assets/scripts/src/choices.js b/assets/scripts/src/choices.js index 15ff509..b890c10 100644 --- a/assets/scripts/src/choices.js +++ b/assets/scripts/src/choices.js @@ -105,8 +105,6 @@ class Choices { flippedState: 'is-flipped', loadingState: 'is-loading', }, - // Choices uses the great Fuse library for searching. You - // can find more options here: https://github.com/krisk/Fuse#options fuseOptions: { include: 'score', },