Skip to content

Commit 5f3b73b

Browse files
committed
Fix formatting
1 parent 1a65c63 commit 5f3b73b

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

ts/a11y/explorer/KeyExplorer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export class SpeechExplorer
234234
href="https://docs.mathjax.org/en/latest/basic/accessibility.html"
235235
target="_blank">MathJax accessibility documentation.</a></p>
236236
`;
237-
}
237+
}
238238

239239
/**
240240
* Help for the different OS versions

ts/ui/menu/Menu.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,9 @@ export class Menu {
12471247
this.enableAccessibilityItems('Speech', speech);
12481248
this.document.options.enableSpeech = speech;
12491249
if (speech && this.settings.assistiveMml) {
1250-
this.noRerender(() => this.menu.pool.lookup('assistiveMml').setValue(false));
1250+
this.noRerender(() =>
1251+
this.menu.pool.lookup('assistiveMml').setValue(false)
1252+
);
12511253
}
12521254
if (!speech || MathJax._?.a11y?.explorer) {
12531255
this.rerender(STATE.COMPILED);
@@ -1263,7 +1265,9 @@ export class Menu {
12631265
this.enableAccessibilityItems('Braille', braille);
12641266
this.document.options.enableBraille = braille;
12651267
if (braille && this.settings.assistiveMml) {
1266-
this.noRerender(() => this.menu.pool.lookup('assistiveMml').setValue(false));
1268+
this.noRerender(() =>
1269+
this.menu.pool.lookup('assistiveMml').setValue(false)
1270+
);
12671271
}
12681272
if (!braille || MathJax._?.a11y?.explorer) {
12691273
this.rerender(STATE.COMPILED);
@@ -1715,7 +1719,7 @@ export class Menu {
17151719
try {
17161720
exec();
17171721
Menu.loading--;
1718-
} catch(err) {
1722+
} catch (err) {
17191723
Menu.loading--; // make sure this resets if there is an error
17201724
throw err;
17211725
}

0 commit comments

Comments
 (0)