diff options
Diffstat (limited to 'script.js')
-rw-r--r-- | script.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ const LINKS = [ const content = document.getElementById('content'); route(); -// TODO: route on hashChange +window.addEventListener('hashchange', route); function route() { const latLon = parseLatLon(location.hash.slice(1)); |