mirror of
https://github.com/pelican-dev/panel.git
synced 2025-08-03 00:12:19 +02:00
Fix Console Fit... again (#1537)
This commit is contained in:
parent
38e746240d
commit
d7e60f2456
@ -90,6 +90,8 @@
|
||||
|
||||
terminal.open(document.getElementById('terminal'));
|
||||
|
||||
fitAddon.fit(); // Fixes SPA issues.
|
||||
|
||||
window.addEventListener('load', () => {
|
||||
fitAddon.fit();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user