From e9c72cf009f30e6f13f2cb88e0699490face9ff9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Isabella=20Sko=C5=99epov=C3=A1?= <isabella@skorepova.info>
Date: Mon, 3 Feb 2020 16:10:11 +0100
Subject: [PATCH] IE compat

---
 theme-source/partials/base-body.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/theme-source/partials/base-body.tsx b/theme-source/partials/base-body.tsx
index a08aab7d..22b08fd4 100644
--- a/theme-source/partials/base-body.tsx
+++ b/theme-source/partials/base-body.tsx
@@ -168,7 +168,7 @@ export function BaseBody({
             $("body").removeClass("show-subnav2").removeClass("show-subnav1");
           }
         });
-        for(var a of document.querySelectorAll("[data-activates]")) {
+        [].forEach.call(document.querySelectorAll("[data-activates]"), function () {
           a.addEventListener("click", function(evt) {
             evt.preventDefault()
             var target = document.getElementById(a.dataset.activates)
@@ -192,7 +192,7 @@ export function BaseBody({
               target.style.pointerEvents = oldPointerEvents
             })
           })
-        }
+        })
       });
     `,
         }}
-- 
GitLab