From 3a78fa3e018070c7a471e901ceb7d42fd139850b Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 14 Aug 2020 12:30:36 -0400 Subject: [PATCH] add a time parameter to the throttled rich text TOC rendering function --- www/pad/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pad/inner.js b/www/pad/inner.js index 30499f618..fb4523fb0 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -673,7 +673,7 @@ define([ content.push(h('p.cp-pad-toc-'+level, a)); }); $toc.html('').append(content); - }); + }, 400); // apply patches, and try not to lose the cursor in the process! framework.onContentUpdate(function(hjson) {