We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62a98bd commit 6490904Copy full SHA for 6490904
1 file changed
Github_User_Info/Github_User_Info.user.js
@@ -132,7 +132,8 @@
132
'text-align: center;' +
133
'color: #CCC;';
134
userLocation.appendChild(userLocationIcon);
135
- var userLocationText = document.createElement('span');
+ var userLocationText = document.createElement('a');
136
+ userLocationText.setAttribute('target', '_blank');
137
userLocation.appendChild(userLocationText);
138
139
var userMail = document.createElement('div');
@@ -430,6 +431,7 @@
430
431
userCompanyAdmin.style.display = data.admin ? 'inline' : 'none';
432
}
433
if (hasValue(data.location, userLocation)) {
434
+ userLocationText.setAttribute('href', 'https://maps.google.com/maps?q=' + encodeURIComponent(data.location));
435
userLocationText.textContent = data.location;
436
437
if (hasValue(data.mail, userMail)) {
0 commit comments