[api-major] Enable editing by default

Note that this patch *at least* shouldn't land until both [bug 1784272](https://bugzilla.mozilla.org/show_bug.cgi?id=1784272) and [bug 1785248](https://bugzilla.mozilla.org/show_bug.cgi?id=1785248) are fixed.
This commit is contained in:
Jonas Jenwald 2022-08-21 13:48:48 +02:00
parent 493bb65005
commit 3e8394ee33
5 changed files with 16 additions and 13 deletions

View file

@ -585,11 +585,12 @@ const PDFViewerApplication = {
appConfig.annotationEditorParams,
eventBus
);
} else {
for (const element of [
document.getElementById("editorModeButtons"),
document.getElementById("editorModeSeparator"),
]) {
element.classList.remove("hidden");
element.hidden = true;
}
}