FIX: Pressing enter when searchContext is enabled should just trigger a search.
This commit is contained in:
parent
c76ee788a7
commit
de6ca4f736
|
@ -191,6 +191,8 @@ export default createWidget('search-menu', {
|
|||
if (url) {
|
||||
this.sendWidgetEvent('linkClicked');
|
||||
DiscourseURL.routeTo(url);
|
||||
} else if (searchData.contextEnabled) {
|
||||
this.triggerSearch();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue