From: Ardis Lu Date: Fri, 30 Sep 2022 05:18:19 +0000 (-0700) Subject: Add missing semicolon X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=643c39656f3080c8163bcc1ea4ea1a42a457acd1;p=minimal-routing Add missing semicolon --- diff --git a/index.html b/index.html index a848065..7d733ac 100644 --- a/index.html +++ b/index.html @@ -162,7 +162,7 @@ for (const router of routers) { router.addEventListener('click', e => { e.preventDefault(); - route(e.target.dataset.route) + route(e.target.dataset.route); }); } window.onpopstate = _ => showPage(window.location.pathname.substring(1));