mirror of
https://github.com/unraid/webgui.git
synced 2026-01-25 11:09:03 -06:00
Open terminal window with dynamic size
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user