Skip to content

Commit

Permalink
Fix rtl
Browse files Browse the repository at this point in the history
  • Loading branch information
bearfriend committed Aug 29, 2023
1 parent 7833b48 commit 01df157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/reset.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function reset(opts = {}) {
const defaultOpts = {
lang: DEFAULT_LANG,
mathjax: {},
rtl: false,
rtl: !!opts.lang?.startsWith('ar'),
viewport: {
height: DEFAULT_VIEWPORT_HEIGHT,
width: DEFAULT_VIEWPORT_WIDTH
Expand Down

0 comments on commit 01df157

Please sign in to comment.