From d8e239e6e3d2886f3caec8d21d808879900e8c1c Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Tue, 1 Apr 2014 01:46:28 -0400 Subject: [PATCH] Bugfix: Use DOM loaded event for TOC The document "DOMContentLoaded" event will fire as soon as the DOM is ready to be manipulated by the TOC building script. The window.onload function should not be used for this because it waits until the window is rendered in the browser to run the script, causing a flash of partially rendered content. --- _docs/conf/i3html.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_docs/conf/i3html.conf b/_docs/conf/i3html.conf index 362d8e9..7202ef2 100644 --- a/_docs/conf/i3html.conf +++ b/_docs/conf/i3html.conf @@ -560,7 +560,7 @@ ifdef::linkcss[] @@ -569,7 +569,7 @@ ifndef::linkcss[] -- 2.39.5