corecathx / FNF-CDEV-Engine

A Friday Night Funkin' Engine.
https://core5570ryt.github.io/FNF-CDEV-Engine/
Apache License 2.0
26 stars 13 forks source link

Optimize links on sidebar docs. #5

Closed RimuEirnarn closed 10 months ago

RimuEirnarn commented 10 months ago

It seems that you are trying to repeat unnecessary things like doing:

<a href="#new-mod" onclick="showTab('new-mod'); return false;">Making a new mod</a>

This PR will automatically do the job by adding an event on document load. Basically only requires <a> to have target href.

<a href="#new-mod">Making a new mod</a>