mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-11-03 02:13:16 +03:00 
			
		
		
		
	@@ -31,7 +31,10 @@ export class AutoSuggest extends Component {
 | 
				
			|||||||
            },
 | 
					            },
 | 
				
			||||||
            event => {
 | 
					            event => {
 | 
				
			||||||
                event.preventDefault();
 | 
					                event.preventDefault();
 | 
				
			||||||
                this.selectSuggestion(event.target.textContent);
 | 
					                const selectionValue = event.target.textContent;
 | 
				
			||||||
 | 
					                if (selectionValue) {
 | 
				
			||||||
 | 
					                    this.selectSuggestion(selectionValue);
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
        navHandler.shareHandlingToEl(this.input);
 | 
					        navHandler.shareHandlingToEl(this.input);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user