parent
98f4695739
commit
b50aecdfca
@ -144,7 +144,7 @@
|
|||||||
//Enter - 13 - Execute addTag() function
|
//Enter - 13 - Execute addTag() function
|
||||||
if(code == 13){
|
if(code == 13){
|
||||||
//If an item from list is selected, make that the text
|
//If an item from list is selected, make that the text
|
||||||
if(this.selection > -1){
|
if(this.selection > -1 && this.suggestions[vm.selection]){
|
||||||
this.newTagInput = this.suggestions[vm.selection].text
|
this.newTagInput = this.suggestions[vm.selection].text
|
||||||
}
|
}
|
||||||
this.addTag()
|
this.addTag()
|
||||||
|
Loading…
Reference in New Issue
Block a user