@@ -144,7 +144,7 @@
 | 
			
		||||
				//Enter - 13 - Execute addTag() function
 | 
			
		||||
				if(code == 13){
 | 
			
		||||
					//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.addTag()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user