diff --git a/index.html b/index.html index f495d7b2..f1984f74 100644 --- a/index.html +++ b/index.html @@ -183,7 +183,7 @@ milestone: 12 }); $("#e10_3").select2({ - data:{ results: data, text: function(item) { console.log('called with', item); return item.tag; } }, + data:{ results: data, text: function(item) { return item.tag; } }, formatSelection: format, formatResult: format }); diff --git a/select2-latest.html b/select2-latest.html index 0571e526..aec54773 100644 --- a/select2-latest.html +++ b/select2-latest.html @@ -183,7 +183,7 @@ $("#e10_2").select2({ }); $("#e10_3").select2({ - data:{ results: data, text: function(item) { console.log('called with', item); return item.tag; } }, + data:{ results: data, text: function(item) { return item.tag; } }, formatSelection: format, formatResult: format });