diff --git a/src/modules/lay.js b/src/modules/lay.js index 99963200..a42e59ce 100644 --- a/src/modules/lay.js +++ b/src/modules/lay.js @@ -318,7 +318,7 @@ try { navigator.clipboard.writeText(text).then( options.done - ).catch(options.error); + ).['catch'](options.error); } catch(e) { var elem = document.createElement('textarea');