diff --git a/src/app/ui/copy-to-clipboard.js b/src/app/ui/copy-to-clipboard.js index 869dfd53c5..5a8313bff9 100644 --- a/src/app/ui/copy-to-clipboard.js +++ b/src/app/ui/copy-to-clipboard.js @@ -29,7 +29,7 @@ module.exports = function copyToClipboard (getContent) { } } catch (e) {} copy(copiableContent) - addTooltip(event, 'Successfully copied!') + addTooltip('Successfully copied!') } } return copyIcon diff --git a/src/app/ui/tooltip.js b/src/app/ui/tooltip.js index 0f58d70ae1..402b90450c 100644 --- a/src/app/ui/tooltip.js +++ b/src/app/ui/tooltip.js @@ -38,7 +38,7 @@ var css = csjs` } ` -module.exports = function addTooltip (event, tooltipText) { +module.exports = function addTooltip (tooltipText) { var tooltip = yo`