Skip to content

Commit 76525ac

Browse files
peterkroonmarijnh
authored andcommitted
[cobol mode] Fix function selectFontsize() in demo for FireFox
1 parent 76bcde3 commit 76525ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/cobol/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ <h2>COBOL mode</h2>
193193
function selectFontsize() {
194194
var fontSizeInput = document.getElementById("selectFontSize");
195195
var fontSize = fontSizeInput.options[fontSizeInput.selectedIndex].innerHTML;
196-
editor.getWrapperElement().style["font-size"] = fontSize;
196+
editor.getWrapperElement().style.fontSize = fontSize;
197197
editor.refresh();
198198
}
199199
function selectReadOnly() {

0 commit comments

Comments
 (0)