throttle markdown rendering in the code app

pull/1/head
ansuz 5 years ago
parent 62c50d9e23
commit daf6482ace

@ -131,7 +131,7 @@ define([
if (['markdown', 'gfm'].indexOf(CodeMirror.highlightMode) === -1) { return; }
if (!$previewButton.is('.cp-toolbar-button-active')) { return; }
forceDrawPreview();
}, 150);
}, 400);
var previewTo;
$previewButton.click(function () {

Loading…
Cancel
Save