add a time parameter to the throttled rich text TOC rendering function

pull/1/head
ansuz 4 years ago
parent b6cb0cb17e
commit 3a78fa3e01

@ -673,7 +673,7 @@ define([
content.push(h('p.cp-pad-toc-'+level, a)); content.push(h('p.cp-pad-toc-'+level, a));
}); });
$toc.html('').append(content); $toc.html('').append(content);
}); }, 400);
// apply patches, and try not to lose the cursor in the process! // apply patches, and try not to lose the cursor in the process!
framework.onContentUpdate(function(hjson) { framework.onContentUpdate(function(hjson) {

Loading…
Cancel
Save