summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pages/search/show/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/pages/search/show/search.js')
-rw-r--r--app/assets/javascripts/pages/search/show/search.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/search/show/search.js b/app/assets/javascripts/pages/search/show/search.js
index 7743e05e748..81b6225cb18 100644
--- a/app/assets/javascripts/pages/search/show/search.js
+++ b/app/assets/javascripts/pages/search/show/search.js
@@ -2,6 +2,7 @@ import $ from 'jquery';
import Flash from '~/flash';
import Api from '~/api';
import { __ } from '~/locale';
+import Project from '~/pages/projects/project';
export default class Search {
constructor() {
@@ -69,6 +70,8 @@ export default class Search {
},
clicked: () => Search.submitSearch(),
});
+
+ Project.initRefSwitcher();
}
eventListeners() {