You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example if you set a header in the sidebar to be called "Cake" and there's a section in your page with the header "Cake" clicking the "Cake" link in the ToC will scroll to the sidebar instead of the page.
Really it's a mild failing on Dokuwiki's side because they should probably be prefixing headers in the sidebar with sidebar_ to avoid duplicate IDs in a page... They shouldn't expect an end user to know proper web standards ;)
Regardless, I fixed this to a degree with this theme by changing in js/template.js:
For example if you set a header in the sidebar to be called "Cake" and there's a section in your page with the header "Cake" clicking the "Cake" link in the ToC will scroll to the sidebar instead of the page.
Really it's a mild failing on Dokuwiki's side because they should probably be prefixing headers in the sidebar with sidebar_ to avoid duplicate IDs in a page... They shouldn't expect an end user to know proper web standards ;)
Regardless, I fixed this to a degree with this theme by changing in js/template.js:
to
It's not perfect though and probably highly flawed knowing me...
The text was updated successfully, but these errors were encountered: