Open terminal window with dynamic size

This commit is contained in:
bergware
2021-12-22 14:54:05 +01:00
parent db3d21490f
commit 108a9d0930

View File

@@ -18,6 +18,6 @@ Code="e93f"
<script>
function TerminalButton() {
var d = new Date();
openTerminal('ttyd','Web Terminal '+d.getTime(),'',600,900);
openTerminal('ttyd','Web Terminal '+d.getTime(),'',screen.availHeight/2,screen.availWidth/2);
}
</script>