Skip to content

Commit 2329d10

Browse files
author
Kristoffer Hansen
committed
addOption does not require a value anymore
1 parent 250ffc9 commit 2329d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ <h2>API</h2>
6060
});
6161

6262
$('#button-addoption').on('click', function() {
63-
control.addOption(4, {
63+
control.addOption({
6464
id: 4,
6565
title: 'Something New',
6666
url: 'http://google.com'

0 commit comments

Comments
 (0)