We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3cb32b6 + 0d131f0 commit 0c29cc5Copy full SHA for 0c29cc5
1 file changed
web/app.js
@@ -500,9 +500,6 @@ const PDFViewerApplication = {
500
)
501
: null;
502
503
- const ltr = appConfig.viewerContainer
504
- ? getComputedStyle(appConfig.viewerContainer).direction === "ltr"
505
- : true;
506
const commentManager =
507
AppOptions.get("enableComment") && appConfig.editCommentDialog
508
? new CommentManager(
@@ -532,7 +529,7 @@ const PDFViewerApplication = {
532
529
eventBus,
533
530
linkService,
534
531
overlayManager,
535
- ltr,
+ /* ltr = */ l10n.getDirection() === "ltr",
536
hasForcedColors
537
538
0 commit comments