Fixed issue of not resizeable copyright panel
This commit is contained in:
parent
cb8971c7c6
commit
ccd5cc03f1
|
@ -93,7 +93,7 @@ class CopyrightInfo {
|
||||||
|
|
||||||
private loadCoWebsite(coDiv: HTMLDivElement) : Promise<void> {
|
private loadCoWebsite(coDiv: HTMLDivElement) : Promise<void> {
|
||||||
// add pre-loaded text
|
// 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();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue