[gitg] Add mailto: uri scheme to user e-mail
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Add mailto: uri scheme to user e-mail
- Date: Sun, 5 Jan 2014 20:09:21 +0000 (UTC)
commit d3dc9dc5073e35d49fde25a0dc97caa6306555cd
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sun Jan 5 21:08:09 2014 +0100
Add mailto: uri scheme to user e-mail
libgitg/resources/diff-view.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgitg/resources/diff-view.js b/libgitg/resources/diff-view.js
index 97fd19a..4cd46b4 100644
--- a/libgitg/resources/diff-view.js
+++ b/libgitg/resources/diff-view.js
@@ -444,7 +444,7 @@ addEventListener('DOMContentLoaded', function () {
create_template("commit", {
'.author': function () {
var name = $('<span/>', {'class': 'author name'}).text(this.author.name);
- var a = $('<a/>', {href: this.author.email}).text(this.author.email);
+ var a = $('<a/>', {href: 'mailto:' + this.author.email}).text(this.author.email);
return {html: $('<span/>').append(name).append(' <').append(a).append('>')};
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]