Fix syntax error

This commit is contained in:
Ian Gulliver
2018-12-08 01:17:40 +00:00
parent 7d5f7a502c
commit 28e5c2c0d6

View File

@@ -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();
});