autosuggest-rb icon indicating copy to clipboard operation
autosuggest-rb copied to clipboard

Remove Selection Bug

Open allentsai opened this issue 13 years ago • 0 comments

If you add a selection, and immediately remove it, it isn't removed.

In the jquery.autoSuggest.js, line 175:

last = last[last.length-2]

My fix was to check if last.length == 1.

allentsai avatar Sep 06 '12 17:09 allentsai