diff --git a/web/public/javascripts/search.js b/web/public/javascripts/search.js index 67a2335d88..e0528afcbe 100644 --- a/web/public/javascripts/search.js +++ b/web/public/javascripts/search.js @@ -354,6 +354,14 @@ } }); + // This is a stop gap implementation to solve the issue with handling the enter key on user search + document.querySelector('#searchInput') + .addEventListener('keypress', ({keyCode}) => { + if (keyCode === 13) { + document.querySelector('#searchBtn').click(); + } + }); + function advSearchForDataset() { var empty = true;