Fix clicking outside profile menu should close it
Fix clicking outside profile menu should close it. Previously only works if you mouseleave
the area
Fix https://gitlab.com/gitlab-org/gitter/webapp/issues/2199
Testing strategy
- Open the profile menu
- Move your mouse out of the window keeping it in header
- Then move back in the window outside of the header
- Clicking oustide of the menu should close it
Edited by Eric Eastwood