Chrome - "take me back" javacript takes one to the top of the page

Hi,

I have javascript as my link to the close button of the detail page of the work that says when one clicks the close button, take me back to the work section on the homepage. However, on Chrome, it takes me to the top of the homepage. On Firefox and Safari, it works fine.

Thoughts?

Best,

Nathan

https://preview.webflow.com/preview/flowglobe?preview=a78b85db5b213b8d77fda00db8d59ed4


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Yes, it is custom code. However, no offense @brando, if this works on everything but Chrome, then is a bug. Also, it was working just fine until just a little while ago.

I would love an answer on this sooner than later.

Best,

Nathan

Hi @nathanphilsteele

Thanks for posting and sharing your feedback, and no offense taken :slight_smile:

I’m happy to explain why I changed this from a Bug post to Custom Code post — I sent you a DM with these details.

-Brandon

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.