Skip to content

Commit c08895f

Browse files
committed
Fix spelling error in variable name
1 parent bba27c3 commit c08895f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/layout.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ function refitTerminal() {
130130
if (siteHeader.style.display === 'none') {
131131
headerHeight = mobileHeader.offsetHeight;
132132
}
133-
let foorterBarHeight = document.getElementById('footer-bar').offsetHeight;
133+
let footerBarHeight = document.getElementById('footer-bar').offsetHeight;
134134
let serialBarHeight = document.getElementById('serial-bar').offsetHeight;
135135
let viewportHeight = window.innerHeight;
136-
let terminalHeight = viewportHeight - headerHeight - foorterBarHeight - serialBarHeight;
136+
let terminalHeight = viewportHeight - headerHeight - footerBarHeight - serialBarHeight;
137137
let terminalWidth = document.getElementById('serial-page').offsetWidth;
138138
let screen = document.querySelector('.xterm-screen');
139139
if (screen) {

0 commit comments

Comments
 (0)