fix #MORE bug

master
Vitaliy Filippov 2015-05-08 14:49:40 +00:00
parent 1331852c4e
commit da1f70d67b
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Homepage: http://yourcmc.ru/wiki/SimpleAutocomplete Homepage: http://yourcmc.ru/wiki/SimpleAutocomplete
License: MPL 2.0+ (http://www.mozilla.org/MPL/2.0/) License: MPL 2.0+ (http://www.mozilla.org/MPL/2.0/)
Version: 2015-03-25 Version: 2015-05-08
(c) Vitaliy Filippov 2011-2015 (c) Vitaliy Filippov 2011-2015
Usage: Usage:
@ -318,6 +318,7 @@ SimpleAutocomplete.prototype.selectItem = function(index)
{ {
// User clicked 'more'. Load more items without delay. // User clicked 'more'. Load more items without delay.
this.items.splice(index, 1); this.items.splice(index, 1);
var elm = document.getElementById(this.id+'_item_'+index);
elm.parentNode.removeChild(elm); elm.parentNode.removeChild(elm);
this.more++; this.more++;
this.onChange(true); this.onChange(true);

2
hinter.min.js vendored

File diff suppressed because one or more lines are too long