mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix linter issues #1367
This commit is contained in:
parent
10a53b6c42
commit
ae60a57b34
@ -227,6 +227,10 @@ define([
|
||||
framework._.sfCommon.setPadAttribute('previewMode', show);
|
||||
};
|
||||
|
||||
var isVisible = function () {
|
||||
return $previewContainer.is(':visible');
|
||||
};
|
||||
|
||||
var handleResize = function () {
|
||||
var wasPreviewVisible = isVisible(); // Capture preview state before resize
|
||||
|
||||
@ -335,9 +339,6 @@ define([
|
||||
$codeMirrorContainer.addClass('cp-app-code-fullpage');
|
||||
};
|
||||
|
||||
var isVisible = function () {
|
||||
return $previewContainer.is(':visible');
|
||||
};
|
||||
|
||||
framework.onReady(function () {
|
||||
handleResize();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user