Skip to content

Commit d2e3606

Browse files
committed
Update filebrowser.js
1 parent 4854248 commit d2e3606

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filebrowser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3104,9 +3104,9 @@ function setupEditor() {
31043104

31053105
// update on screen resize
31063106

3107-
const portrait = window.matchMedia('(orientation: portrait)');
3107+
const landscape = window.matchMedia('(orientation: landscape)');
31083108

3109-
portrait.addEventListener('change', updateLineNumbersHTML);
3109+
landscape.addEventListener('change', updateLineNumbersHTML);
31103110

31113111

31123112
let beautifierOptions = {

0 commit comments

Comments
 (0)