Fix hashchange.
Register function to hashchange event, not its result. Simplify: control all by hashchange and just call it on load.
Showing
Please register or sign in to comment
Register function to hashchange event, not its result. Simplify: control all by hashchange and just call it on load.