From 0fc7e8dc9147d2f32857eef2713e4c96b358f673 Mon Sep 17 00:00:00 2001 From: Amay Agrawal Date: Sun, 17 Jan 2016 02:46:56 +0530 Subject: [PATCH] Update view.js --- content/src/view.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/src/view.js b/content/src/view.js index 1b9c6cca..ff3a7395 100644 --- a/content/src/view.js +++ b/content/src/view.js @@ -852,6 +852,11 @@ function showShareDialog(opts) { this.scrollLeft = this.scrollWidth; } }); + //It gets the email address of the user when an email button is clicked + dialog.find('button.ok').on('click', function() { + var getuseremail=prompt("Please enter your e-mail address", " "); + alert(getuseremail); + }); var clipboardClient = new ZeroClipboard(dialog.find('button.copy')); var tooltipTimer = null;