diff options
author | Phil Hughes <me@iamphill.com> | 2017-03-10 20:40:38 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-03-16 11:42:41 +0300 |
commit | 09f7b9dc3260d9fa65b5aeec4576b6159cfb93b2 (patch) | |
tree | 4d97d4714b2c1beb17d3e54c1628dd5fdf4f12d4 /app/assets/javascripts/boards/filtered_search_boards.js | |
parent | a9deabea00a1fa34bfeb8b6c421a99aa7568a5c8 (diff) |
Created a container class for filtered search
This class returns the correct container the filtered search should be
run in
At the moment it doesn't allow for multiple to be used at once, need to
look at a way to fix this
[ci skip]
Diffstat (limited to 'app/assets/javascripts/boards/filtered_search_boards.js')
-rw-r--r-- | app/assets/javascripts/boards/filtered_search_boards.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/boards/filtered_search_boards.js b/app/assets/javascripts/boards/filtered_search_boards.js index de50bb67e86..47448b02bdd 100644 --- a/app/assets/javascripts/boards/filtered_search_boards.js +++ b/app/assets/javascripts/boards/filtered_search_boards.js @@ -1,6 +1,6 @@ export default class FilteredSearchBoards extends gl.FilteredSearchManager { - constructor(store, updateUrl = false, container = document) { - super('boards', container); + constructor(store, updateUrl = false) { + super('boards'); this.store = store; this.updateUrl = updateUrl; |