Skip to content

Commit a60db34

Browse files
committed
Update filebrowser.js
1 parent f2f7a81 commit a60db34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

filebrowser.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3106,7 +3106,9 @@ function setupEditor() {
31063106

31073107
const landscape = window.matchMedia('(orientation: landscape)');
31083108

3109-
landscape.addEventListener('change', updateLineNumbersHTML);
3109+
landscape.addEventListener('change', () => {
3110+
onNextFrame(updateLineNumbersHTML);
3111+
});
31103112

31113113

31123114
let beautifierOptions = {

0 commit comments

Comments
 (0)