mirror of
https://github.com/pelican-dev/panel.git
synced 2025-08-03 14:12:13 +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'));
|
terminal.open(document.getElementById('terminal'));
|
||||||
|
|
||||||
|
fitAddon.fit(); // Fixes SPA issues.
|
||||||
|
|
||||||
window.addEventListener('load', () => {
|
window.addEventListener('load', () => {
|
||||||
fitAddon.fit();
|
fitAddon.fit();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user