From 321e19dc415a316c71ba50e11ab0428bda92b0e6 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 03 May 2022 13:48:50 +0000
Subject: [PATCH] Merge pull request #121 from benbohmer/patch-1
---
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