diff --git a/frontend/app/search/search-query.js b/frontend/app/search/search-query.js index dc57fd6d..ab18dc6a 100644 --- a/frontend/app/search/search-query.js +++ b/frontend/app/search/search-query.js @@ -373,6 +373,11 @@ fm.app.factory("fmSearchQuery", function($rootScope, $compile, fmUtils, $timeout }, showFiles: function(files) { + if(!searchUi._el.is(":visible")) { + routeUi.hide(); + searchUi.show(); + } + scope.submittedSearchString = ""; scope.showAll = true; loadSearchResults(filesUi.parseFiles(files));