mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-26 13:26:22 +00:00
Fix clarification comment
This commit is contained in:
parent
40d216759c
commit
f1b85fb6d9
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@
|
||||||
// We only mutate document.title and content within .singlePage element
|
// We only mutate document.title and content within .singlePage element
|
||||||
router(".singlePage");
|
router(".singlePage");
|
||||||
const callback = () => {
|
const callback = () => {
|
||||||
// requestAnimationFrame()
|
// requestAnimationFrame() delays graph draw until SPA routing is finished
|
||||||
const draw = () => {
|
const draw = () => {
|
||||||
const container = document.getElementById("graph-container");
|
const container = document.getElementById("graph-container");
|
||||||
// retry if the graph is not ready
|
// retry if the graph is not ready
|
||||||
|
|
Loading…
Reference in a new issue