mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-25 09:42:10 +08:00
parent
bd7c7eb8d6
commit
0241032f06
|
@ -31,7 +31,10 @@ export class AutoSuggest extends Component {
|
|||
},
|
||||
event => {
|
||||
event.preventDefault();
|
||||
this.selectSuggestion(event.target.textContent);
|
||||
const selectionValue = event.target.textContent;
|
||||
if (selectionValue) {
|
||||
this.selectSuggestion(selectionValue);
|
||||
}
|
||||
},
|
||||
);
|
||||
navHandler.shareHandlingToEl(this.input);
|
||||
|
|
Loading…
Reference in New Issue
Block a user