mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Don't try to hide an already invisible PopupAnnotation (issue 16660)
This commit is contained in:
parent
c33e6ceb03
commit
559ea194f2
1 changed files with 1 additions and 1 deletions
|
@ -2157,7 +2157,7 @@ class PopupElement {
|
|||
*/
|
||||
#hide() {
|
||||
this.#container.classList.remove("focused");
|
||||
if (this.#pinned) {
|
||||
if (this.#pinned || !this.isVisible) {
|
||||
return;
|
||||
}
|
||||
this.#container.hidden = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue