diff --git a/src/clipboard-action.js b/src/clipboard-action.js index 97452f8..e33a677 100644 --- a/src/clipboard-action.js +++ b/src/clipboard-action.js @@ -49,7 +49,7 @@ class ClipboardAction { this.removeFake(); - this.fakeHandler = document.body.addEventListener('click', () => this.removeFake()); + this.fakeHandler = document.body.addEventListener('click', () => this.removeFake()) || true; this.fakeElem = document.createElement('textarea'); // Prevent zooming on iOS