diff --git a/zerobin/static/js/behavior.js b/zerobin/static/js/behavior.js index 32c7906..1aa8b97 100644 --- a/zerobin/static/js/behavior.js +++ b/zerobin/static/js/behavior.js @@ -119,7 +119,7 @@ const app = new Vue({ }, handleSendByEmail: (e) => { - e.target.href = 'mailto:friend@example.com?body=' + window.location.toString(); + window.location = 'mailto:friend@example.com?body=' + window.location.toString(); }, handleDeletePaste: () => {