Skip to content

Commit 160a7c4

Browse files
committed
added trailing slash to urls
1 parent f8ca109 commit 160a7c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: coderstats/coderstats.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var path = document.location.pathname;
22
if (m = path.match(/^\/([\w-]+)\??.*?/)) {
33
var login = m[1];
44
if (-1 === ['timeline', 'languages', 'blog', 'explore'].indexOf(login)) {
5-
var url = 'http://coderstats.net/github/' + login.trim();
5+
var url = 'http://coderstats.net/github/' + login.trim() + '/';
66
var details = document.getElementsByClassName('details');
77
var dl = document.createElement('dl');
88
dl.innerHTML = '<dt><span class="mini-icon mini-icon-link"></span></dt><dd><a href="' + url + '">CoderStats(\'' + login + '\')</a></dd>';

Diff for: coderstats/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"manifest_version": 2,
3-
"version": "1.8",
3+
"version": "1.9",
44
"name": "Coderstats link for Github",
55
"description": "Display a link to the Coderstats page for the currently displayed user on github.com.",
66
"icons": {

0 commit comments

Comments
 (0)