Commit a5267d0f authored by Phil Hughes's avatar Phil Hughes

selecting project in dropdown takes user to the correct project

parent 81e7086f
...@@ -56,6 +56,9 @@ class @Project ...@@ -56,6 +56,9 @@ class @Project
_projectSelectDropdown: -> _projectSelectDropdown: ->
new ProjectSelect() new ProjectSelect()
$('.project-item-select').on 'click', ->
window.location = $(this).val()
$('.js-projects-dropdown-toggle').on 'click', (e) -> $('.js-projects-dropdown-toggle').on 'click', (e) ->
e.preventDefault() e.preventDefault()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment