From f1b85fb6d9612d9c9d5293e27e489576800ed219 Mon Sep 17 00:00:00 2001 From: Aiden Bai Date: Mon, 2 May 2022 09:10:40 -0700 Subject: [PATCH] Fix clarification comment --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3b14850..1dabaf6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -65,7 +65,7 @@ // We only mutate document.title and content within .singlePage element router(".singlePage"); const callback = () => { - // requestAnimationFrame() + // requestAnimationFrame() delays graph draw until SPA routing is finished const draw = () => { const container = document.getElementById("graph-container"); // retry if the graph is not ready