diff --git a/main.js b/main.js index 76ad266..e4d2fd4 100644 --- a/main.js +++ b/main.js @@ -5,9 +5,9 @@ const clipboard = new ClipboardJS(btn); clipboard.on('success', function (e) { console.info('Action:', e.action); console.info('Text:', e.text); - new Notification('Notification title', { + new Notification('Copied Shorturl', { icon: 'http://cdn.sstatic.net/stackexchange/img/logos/so/so-icon.png', - body: 'Hey there! You\'ve been notified!', + body: `Copied the shorturl to your clipboard: ${e.text}`, }); });