# Did anything change that would effect Back Button code?

**URL:** https://meta.discourse.org/t/did-anything-change-that-would-effect-back-button-code/303638
**Category:** Development
**Created:** [April 13, 2024, 2:36am UTC](https://meta.discourse.org/t/did-anything-change-that-would-effect-back-button-code/303638 "2024-04-13T02:36:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![45thj5ej](https://avatars.discourse-cdn.com/v4/letter/4/34f0e0/32.png) [@45thj5ej](https://meta.discourse.org/u/45thj5ej)
#### Post date: [April 13, 2024, 2:36am UTC](https://meta.discourse.org/t/did-anything-change-that-would-effect-back-button-code/303638/1 "2024-04-13T02:36:25Z")

</div>

On one page, I have  
`<a class="btn btn-primary" style="margin:5px;" onclick="history.back()">Go Back</a>`  
and when pressed, it simply goes back to the previous page you were on.

Well, I’ve changed literally nothing the past few days and one of my users brought to my attention that my back button stopped working, which I confirmed on multiple devices. Did anything on Discourse’s end change?
