mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-07 16:32:32 +02:00
Update README.md
Example had a misplaced quote, breaking the code.
This commit is contained in:
parent
37e1d6fc52
commit
5f11caae1b
|
@ -52,7 +52,7 @@ Or include Choices directly:
|
||||||
const choices = new Choices(element);
|
const choices = new Choices(element);
|
||||||
|
|
||||||
// Pass reference
|
// Pass reference
|
||||||
const choices = new Choices('[data-trigger']);
|
const choices = new Choices('[data-trigger]');
|
||||||
const choices = new Choices('.js-choice');
|
const choices = new Choices('.js-choice');
|
||||||
|
|
||||||
// Pass jQuery element
|
// Pass jQuery element
|
||||||
|
|
Loading…
Reference in a new issue