mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Change forceDrawPreview to DrawPreview #1367
This commit is contained in:
parent
62714e502c
commit
9d201fc2ee
@ -239,7 +239,7 @@ define([
|
||||
$previewContainer.show();
|
||||
$codeMirrorContainer.hide();
|
||||
$previewButton.hide();
|
||||
return forceDrawPreview();
|
||||
return drawPreview();
|
||||
}
|
||||
// Small screen: toggle between editor and preview
|
||||
if (isSmallScreen()) {
|
||||
@ -251,7 +251,7 @@ define([
|
||||
$codeMirrorContainer.show();
|
||||
$codeMirrorContainer.removeClass('cp-app-code-fullpage');
|
||||
$previewButton.addClass('cp-toolbar-button-active');
|
||||
return forceDrawPreview();
|
||||
return drawPreview();
|
||||
}
|
||||
// Normal screen: editor only to split view
|
||||
$previewContainer.hide();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user