From 5e913a62958f07562ccfab97490e9191a5746b5d Mon Sep 17 00:00:00 2001 From: Elaine Looney Date: Wed, 13 Aug 2014 15:42:55 -0500 Subject: [PATCH 1/2] reorder children indicator span on option li --- js/autocomplete.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/autocomplete.js b/js/autocomplete.js index e4f6218..109c44f 100644 --- a/js/autocomplete.js +++ b/js/autocomplete.js @@ -892,15 +892,14 @@ var buildOption = function(option, parentList) { var childrenListName = getChildrenListName(option, parentList); var html = '
  • ' + - option.optionHTML; + 'data-option-id="' + encode(optionId) + '">'; // TODO: make this configurable if (typeof childrenListName === 'string') { html += ''; } - html += '
  • '; + html += option.optionHTML + ''; return html; }; From 9c53ebb4af37280ba6dd43761c9e85ffd75813cb Mon Sep 17 00:00:00 2001 From: Elaine Looney Date: Fri, 13 Mar 2015 14:09:06 -0500 Subject: [PATCH 2/2] make English better --- examples/2002.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/2002.html b/examples/2002.html index 33ce3d1..627a6b6 100644 --- a/examples/2002.html +++ b/examples/2002.html @@ -1,3 +1,3 @@

    Lists using AJAX work the same way as lists with local options.

    -

    In this example, our initial list has local options and all of it's children lists are powered by AJAX.

    +

    In this example, our initial list has local options and all of its children lists are powered by AJAX.

    \ No newline at end of file