aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bzpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r--lib/bzpage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index e8f11aa..7b8a437 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -492,7 +492,7 @@ BZPage.prototype.setConfigurationButton = function setConfigurationButton () {
*/
BZPage.prototype.parseMailto = function parseMailto(aElement) {
if (aElement) {
- var email = decodeURI(aElement.getAttribute("href")).
+ return decodeURI(aElement.getAttribute("href")).
split(":")[1];
}
return null;