From 26d76cb401658ed28f801a40ec63ba3749bbd88f Mon Sep 17 00:00:00 2001 From: Rodrigo Klosowski Date: Thu, 3 Nov 2016 14:17:37 -0200 Subject: [PATCH] Examples: Fix one in examples/api (#1186) Error solved by, changing the syntax addoption. --- examples/api.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/api.html b/examples/api.html index 6fb456a99..fb6162ebd 100644 --- a/examples/api.html +++ b/examples/api.html @@ -61,8 +61,8 @@

API

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