1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

[Editor] Remove the error panel when the user click on an other tab (bug 1949201)

This commit is contained in:
Calixte Denizet 2025-02-19 18:36:21 +01:00
parent d10cea5dd0
commit 12ba81718c
2 changed files with 49 additions and 0 deletions

View file

@ -289,6 +289,7 @@ class SignatureManager {
this.#currentTab = name;
}
this.#errorBar.hidden = true;
const reset = !name;
if (reset) {
this.#resetCommon();