mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #15125 from Snuffleupagus/FileAttachmentAnnotationElement-trigger
Fix the Popup-trigger for `FileAttachmentAnnotationElement` (PR 15036 follow-up)
This commit is contained in:
commit
ca8b112e8c
1 changed files with 1 additions and 2 deletions
|
@ -2400,8 +2400,7 @@ class FileAttachmentAnnotationElement extends AnnotationElement {
|
|||
this.container.className = "fileAttachmentAnnotation";
|
||||
|
||||
const trigger = document.createElement("div");
|
||||
trigger.style.height = this.container.style.height;
|
||||
trigger.style.width = this.container.style.width;
|
||||
trigger.className = "popupTriggerArea";
|
||||
trigger.addEventListener("dblclick", this._download.bind(this));
|
||||
|
||||
if (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue