firebase/firechat — pull request #13 by trustmaster (2014-05-20 19:44:54+00:00)
Title: Prevent location change when links are clicked

There's an issue with Firechat UI when using on sites with URLs like http://example.com/foo/bar and with `` tag set in `

`: when a user clicks an UI element represented by ``, a location change to http://example.com/#! happens.

How to reproduce:
1. Add Firechat on a page with a nested path, e.g. `foo/bar`.
2. Add `` between `

`.
3. Enter page foo/bar. Then try clicking different chat rooms, closing them and inviting users - all these buttons relocate you to the home page.

I've tried fixing this by adding `return false;` to click event handlers and it worked for chat room selection and closing. But when clicking user names in dropdowns, it still redirects and I'm not sure how to fix it.