Skip to content

Commit 0ec6e2c

Browse files
committed
[main] fix code style
addresses review of #356
1 parent d5e2091 commit 0ec6e2c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,9 @@ function ConfigureMathJax() {
340340
delete STYLES[".mjx-test"];
341341
delete STYLES[".mjx-ex-boxtest"];
342342
// fontURL to current MathJax version
343-
if (!fontURL)
344-
fontURL = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/' + MathJax.version + '/fonts/HTML-CSS';
343+
if (!fontURL){
344+
fontURL = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/' + MathJax.version + '/fonts/HTML-CSS';
345+
}
345346
CHTML.Augment({
346347
webfontDir: fontURL,
347348
//

0 commit comments

Comments
 (0)