]> git.ardis.lu - minimal-routing/commitdiff
Add missing semicolon
authorArdis Lu <ardisglu@gmail.com>
Fri, 30 Sep 2022 05:18:19 +0000 (22:18 -0700)
committerArdis Lu <ardisglu@gmail.com>
Fri, 30 Sep 2022 05:18:19 +0000 (22:18 -0700)
index.html

index a84806592f45b22c102fb54390765c078bae2cac..7d733acaf0428187cf66915c723cd8c541208a0d 100644 (file)
     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));
This page took 0.034159 seconds and 4 git commands to generate.