diff --git a/src/display/annotation_layer.js b/src/display/annotation_layer.js index 216e4b1a0..064ee3b3e 100644 --- a/src/display/annotation_layer.js +++ b/src/display/annotation_layer.js @@ -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 (