From 28e5c2c0d6f67fbd0b5c9b20f4e781e77d128895 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sat, 8 Dec 2018 01:17:40 +0000 Subject: [PATCH] Fix syntax error --- passmate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passmate.js b/passmate.js index 7b573fc..799ac72 100644 --- a/passmate.js +++ b/passmate.js @@ -109,7 +109,7 @@ class PassMate { let print = this.addElement('button', printStep, 'Click here to print the book!'); print.style.cursor = 'pointer'; printStep.addEventListener('click', () => { - let ga = window.ga || () => {}; + let ga = window.ga || (() => {}); ga('send', 'event', 'Overview', 'print'); window.print(); });