Skip to content

Commit

Permalink
stor-11705 cleanupDropDown added5
Browse files Browse the repository at this point in the history
  • Loading branch information
ggeles committed Jul 12, 2018
1 parent 17abb0d commit 190506d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,7 @@

//BACKSPACE
case 8:
if (this.query === '') {
this.cleanUpWithDelimiter(true)
} else {
if (this.query !== '') {
this.lookup();
}
break;
Expand Down Expand Up @@ -517,12 +515,6 @@
return '<span>' + item[this.options.queryBy] + '</span>&nbsp;';
},

cleanUpWithDelimiter: function (rollback) {
if (this.options.delimiter !== '@') {
cleanUp(rollback);
}
},

cleanUp: function (rollback) {
this.unbindEvents();
this.hasFocus = false;
Expand Down

0 comments on commit 190506d

Please sign in to comment.