Fixed issue of not resizeable copyright panel

This commit is contained in:
Thomas Basler 2021-05-29 13:24:21 +02:00
parent cb8971c7c6
commit ccd5cc03f1

View File

@ -93,7 +93,7 @@ class CopyrightInfo {
private loadCoWebsite(coDiv: HTMLDivElement) : Promise<void> {
// add pre-loaded text
coDiv.innerHTML= "<div class=\"copyright\"><pre>" + CopyrightInfo.escapeTags(this.copyrightTxt ?? '') + "</pre></div>";
coDiv.innerHTML= "<iframe srcdoc=\"<div class='copyright'><pre>" + CopyrightInfo.escapeTags(this.copyrightTxt ?? '') + "</pre></div>\"></iframe>";
return Promise.resolve();
}
}