diff options
author | Phil Hughes <me@iamphill.com> | 2017-07-25 13:56:41 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-25 13:56:41 +0300 |
commit | 205090fcfb741884215723281dfb0afb56efbbfb (patch) | |
tree | ba1e4ffdeb5757e055dcc862d8d022eb4c48d62d /app/views/shared/issuable/_search_bar.html.haml | |
parent | e43bda0ebb56991f9f128946fefed375a695eac1 (diff) |
Removed inline JS in shared HAML files
Diffstat (limited to 'app/views/shared/issuable/_search_bar.html.haml')
-rw-r--r-- | app/views/shared/issuable/_search_bar.html.haml | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/views/shared/issuable/_search_bar.html.haml b/app/views/shared/issuable/_search_bar.html.haml index 6f0b7600698..3428d6e0445 100644 --- a/app/views/shared/issuable/_search_bar.html.haml +++ b/app/views/shared/issuable/_search_bar.html.haml @@ -108,12 +108,3 @@ #js-add-issues-btn.prepend-left-10 - elsif type != :boards_modal = render 'shared/sort_dropdown' - -- unless type === :boards_modal - :javascript - $(document).off('page:restore').on('page:restore', function (event) { - if (gl.FilteredSearchManager) { - const filteredSearchManager = new gl.FilteredSearchManager(); - filteredSearchManager.setup(); - } - }); |