Fix the l10n-id for the sidebar toggleButton, in the ViewsManager class

Steps to reproduce:
 1. Open http://localhost:8888/web/viewer.html
 2. Open the console, and run: `PDFViewerApplication.close();`
 3. Note the warning: `[fluent] Missing translations in en-us: pdfjs-toggle-views-manager-button`
This commit is contained in:
Jonas Jenwald 2026-04-07 11:13:35 +02:00
parent f8d7c20a1a
commit 8656b4acb3

View File

@ -162,7 +162,7 @@ class ViewsManager extends Sidebar {
attachmentsTitle: "pdfjs-views-manager-attachments-title",
layersTitle: "pdfjs-views-manager-layers-title1",
notificationButton: "pdfjs-toggle-views-manager-notification-button",
toggleButton: "pdfjs-toggle-views-manager-button",
toggleButton: "pdfjs-toggle-views-manager-button1",
});
this.#addEventListeners();