diff --git a/src/components/views/messages/TextualBody.js b/src/components/views/messages/TextualBody.js index d7d858e0c4..17bb9f90b5 100644 --- a/src/components/views/messages/TextualBody.js +++ b/src/components/views/messages/TextualBody.js @@ -74,7 +74,7 @@ module.exports = React.createClass({ document.body.appendChild(textArea); textArea.select(); - let successful; + let successful = false; try { successful = document.execCommand('copy'); } catch (err) {