Skip to content

Commit

Permalink
Examples: Fix one in examples/api (selectize#1186)
Browse files Browse the repository at this point in the history
Error solved by, changing the syntax addoption.
  • Loading branch information
klosowsk authored and joallard committed Nov 3, 2016
1 parent afd0c9c commit 26d76cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ <h2>API</h2>

$('#button-addoption').on('click', function() {
control.addOption({
id: 4,
title: 'Something New',
value: 4,
text: 'Something New',
url: 'http://google.com'
});
});
Expand Down

0 comments on commit 26d76cb

Please sign in to comment.