throttle markdown rendering in the code app

pull/1/head
ansuz 2019-12-05 17:42:13 -05:00
parent 62c50d9e23
commit daf6482ace
1 changed files with 1 additions and 1 deletions

View File

@ -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 () {