diff options
author | Phil Hughes <me@iamphill.com> | 2016-10-12 19:43:20 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-10-12 19:43:20 +0300 |
commit | 25c82c6faf067a82e99bad590357ad57618475d9 (patch) | |
tree | d16beea654a7dc120526bac2de4af8770d8985e9 /app/assets/javascripts/milestone_select.js | |
parent | f76f569bb87803b14c763427fc2875cca7dda892 (diff) |
Updated JS to work with issue index & show
Diffstat (limited to 'app/assets/javascripts/milestone_select.js')
-rw-r--r-- | app/assets/javascripts/milestone_select.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/milestone_select.js b/app/assets/javascripts/milestone_select.js index 26cc6eb0e96..cee42633c79 100644 --- a/app/assets/javascripts/milestone_select.js +++ b/app/assets/javascripts/milestone_select.js @@ -110,7 +110,7 @@ e.preventDefault(); return; } - if (page === 'projects:boards:show') { + if ($('html').hasClass('issue-boards-page')) { gl.issueBoards.BoardsStore.state.filters[$dropdown.data('field-name')] = selected.name; gl.issueBoards.BoardsStore.updateFiltersUrl(); e.preventDefault(); |