Fix syntax error
This commit is contained in:
@@ -109,7 +109,7 @@ class PassMate {
|
|||||||
let print = this.addElement('button', printStep, 'Click here to print the book!');
|
let print = this.addElement('button', printStep, 'Click here to print the book!');
|
||||||
print.style.cursor = 'pointer';
|
print.style.cursor = 'pointer';
|
||||||
printStep.addEventListener('click', () => {
|
printStep.addEventListener('click', () => {
|
||||||
let ga = window.ga || () => {};
|
let ga = window.ga || (() => {});
|
||||||
ga('send', 'event', 'Overview', 'print');
|
ga('send', 'event', 'Overview', 'print');
|
||||||
window.print();
|
window.print();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user