summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/dispatcher.js.es6
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-01-09 11:33:17 -0600
committerClement Ho <ClemMakesApps@gmail.com>2017-01-09 16:01:38 -0600
commit1bfdad5c4707c9dac243cebaf4666fee77f17891 (patch)
tree23f9333d3692dcf87a99c8900f5fbd732c4b75c6 /app/assets/javascripts/dispatcher.js.es6
parent3d0b0a62609d5f961d2777f497558d90c1dc039b (diff)
downloadgitlab-ce-1bfdad5c4707c9dac243cebaf4666fee77f17891.tar.gz
Code review changes
Diffstat (limited to 'app/assets/javascripts/dispatcher.js.es6')
-rw-r--r--app/assets/javascripts/dispatcher.js.es62
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/dispatcher.js.es6 b/app/assets/javascripts/dispatcher.js.es6
index ca2da18dc26..99a34651639 100644
--- a/app/assets/javascripts/dispatcher.js.es6
+++ b/app/assets/javascripts/dispatcher.js.es6
@@ -84,7 +84,7 @@
break;
case 'projects:merge_requests:index':
case 'projects:issues:index':
- if (document.querySelector('.filtered-search') && gl.FilteredSearchManager) {
+ if (gl.FilteredSearchManager) {
new gl.FilteredSearchManager();
}
Issuable.init();