# Clicking link to profile twice disables browser "back/previous page" function

**URL:** https://meta.discourse.org/t/clicking-link-to-profile-twice-disables-browser-back-previous-page-function/53755
**Category:** Bug
**Created:** [3 Dezembro , 2016 20:08 UTC](https://meta.discourse.org/t/clicking-link-to-profile-twice-disables-browser-back-previous-page-function/53755 "2016-12-03T20:08:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [3 Dezembro , 2016 20:08 UTC](https://meta.discourse.org/t/clicking-link-to-profile-twice-disables-browser-back-previous-page-function/53755/1 "2016-12-03T20:08:54Z")

</div>

1. Go to any topic.
2. Click on any user’s name (next to their avatar) twice, _bypassing_ any sort of mouse activity to/upon the user card.
3. Once on their profile, click the browser’s back button.

Expected behavior: The browser skips back to the topic.  
**Actual behavior: browser stays on the profile.**

I am guessing this is a regression. Possibly related:

> [@The browser's «Back» button is broken after the «Show watched topics» link has been clicked](https://meta.discourse.org/t/the-browsers-back-button-is-broken-after-the-show-watched-topics-link-has-been-clicked/51432):
>
> Step 1. A user click the «Show watched topics» link on its own profle page: Step 2. Discourse redirects him to a page with the topics he is watching (right). [image] The user clicks the browser’s «Back» button. Step 3. Discourse redirects him to a wrong page (Discourse should redirect him to his profile page instead). [image]

Thank you for your time and attention.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [3 Dezembro , 2016 20:21 UTC](https://meta.discourse.org/t/clicking-link-to-profile-twice-disables-browser-back-previous-page-function/53755/2 "2016-12-03T20:21:47Z")

</div>

Sure can you have a look Monday @eviltrout?

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [5 Dezembro , 2016 18:48 UTC](https://meta.discourse.org/t/clicking-link-to-profile-twice-disables-browser-back-previous-page-function/53755/3 "2016-12-05T18:48:25Z")

</div>

I’m not sure if this is an ember regression or something that’s been around for a while, but here’s a fix:

[https://github.com/discourse/discourse/commit/9e807896bccd4b310e744cf5b56c4f32d01af9e8](https://github.com/discourse/discourse/commit/9e807896bccd4b310e744cf5b56c4f32d01af9e8)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [5 Dezembro , 2016 22:12 UTC](https://meta.discourse.org/t/clicking-link-to-profile-twice-disables-browser-back-previous-page-function/53755/4 "2016-12-05T22:12:18Z")

</div>


