diff --git a/src/pb-facs-link.js b/src/pb-facs-link.js index 10f7d36f..d4f6a561 100644 --- a/src/pb-facs-link.js +++ b/src/pb-facs-link.js @@ -79,7 +79,7 @@ export class PbFacsLink extends pbMixin(LitElement) { const link = this.shadowRoot.querySelector('a'); link.addEventListener(this.trigger, this._linkListener.bind(this)); if (this.emitOnLoad) { - this._trigger(); + this.wait(() => { this._trigger(); }); } }