MyBB Community Forums
[General] Incorrect jump to anchor - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [General] Incorrect jump to anchor (/thread-242375.html)



Incorrect jump to anchor - Feathertail - 2024-11-27

Hi all.
I have a problem with following a link (anchor) to a some post.
When I click on a link (post number) or enter a link into the browser, instead of going to the post itself, the page scrolls to the window bottom (end page).
I spent a long time looking for what the problem was and found out that this happens because 
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1823"></script> 
in the headerinclude template.
If I disable other scripts and styles the problem remains.
I think, that it's bad idia disable this script, but i dont know how solve this problem.
Maybe someone has encountered this problem or knows how to solve it?


RE: Incorrect jump to anchor - Joey_Pham423 - 2024-11-27

do you have a link to your live forum so we can take a look?


RE: Incorrect jump to anchor - Feathertail - 2024-11-27

So, it's was undo.js.
This help me:
https://community.mybb.com/thread-237775-post-1393914.html#pid1393914


RE: Incorrect jump to anchor - Joey_Pham423 - 2024-11-27

glad to hear you've figured it out