throttle markdown rendering in the code app
This commit is contained in:
1 parent
62c50d9e23
commit
daf6482ace
1 file changed
+1
-1
+1
-1
@@ -131,7 +131,7 @@ define([
|
|||||||
if (['markdown', 'gfm'].indexOf(CodeMirror.highlightMode) === -1) { return; }
|
if (['markdown', 'gfm'].indexOf(CodeMirror.highlightMode) === -1) { return; }
|
||||||
if (!$previewButton.is('.cp-toolbar-button-active')) { return; }
|
if (!$previewButton.is('.cp-toolbar-button-active')) { return; }
|
||||||
forceDrawPreview();
|
forceDrawPreview();
|
||||||
}, 150);
|
}, 400);
|
||||||
|
|
||||||
var previewTo;
|
var previewTo;
|
||||||
$previewButton.click(function () {
|
$previewButton.click(function () {
|
||||||
|
|||||||
Reference in new issue
Block a user