diff --git a/lib/mixins/annotations.js b/lib/mixins/annotations.js index c66cfd8..31d8df0 100644 --- a/lib/mixins/annotations.js +++ b/lib/mixins/annotations.js @@ -39,10 +39,7 @@ export default { return this.annotate(x, y, w, h, options); }, - goTo(x, y, w, h, name, options) { - if (options == null) { - options = {}; - } + goTo(x, y, w, h, name, options = {}) { options.Subtype = 'Link'; options.A = this.ref({ S: 'GoTo',