Skip to content

Commit b0c3597

Browse files
committed
Force Opera to show the editor
1 parent 152141b commit b0c3597

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

assets/scripts/runlatex.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ function llexamples() {
164164
}
165165
}
166166
p[i].textContent=pretext.replace(/\s+$/,'');
167+
p[i].style.height="1em"; // force redisplay in Opera zoom
167168
ace.config.set('basePath', 'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.12') ;
168169
editor = ace.edit(p[i]);
169170
editor.setTheme(rlacetheme);

0 commit comments

Comments
 (0)