mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Fix Console Fit... again (#1537)
This commit is contained in:
@@ -90,6 +90,8 @@
|
||||
|
||||
terminal.open(document.getElementById('terminal'));
|
||||
|
||||
fitAddon.fit(); // Fixes SPA issues.
|
||||
|
||||
window.addEventListener('load', () => {
|
||||
fitAddon.fit();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user