From f1b85fb6d9612d9c9d5293e27e489576800ed219 Mon Sep 17 00:00:00 2001
From: Aiden Bai <aiden.bai05@gmail.com>
Date: Mon, 02 May 2022 16:10:40 +0000
Subject: [PATCH] Fix clarification comment
---
layouts/partials/head.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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
--
Gitblit v1.10.0