Remove redundant check

This commit is contained in:
viown
2025-11-19 20:56:45 +03:00
parent 13c49d5144
commit abcc625b60
@@ -79,7 +79,7 @@ function getEditorHtml(options) {
html += '<div class="formDialogContent scrollY">';
html += '<div class="dialogContentInner dialog-content-centered" style="padding-top:2em;">';
if (!options.pathReadOnly && options.instruction) {
const instruction = options.instruction ? `${escapeHtml(options.instruction)}<br/><br/>` : '';
const instruction = `${escapeHtml(options.instruction)}<br/><br/>`;
html += '<div class="infoBanner" style="margin-bottom:1.5em;">';
html += instruction;
html += '</div>';