Fix readme edit link

This commit is contained in:
Shadowfacts 2016-09-09 21:05:54 -04:00
parent af759cbbae
commit 7ed54d16cf
No known key found for this signature in database
GPG Key ID: F802198A7D7F309D
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ let repoUrl = $("div.repohead-details-container > h1.public > strong[itemprop=na
let name = readme.find("h3").text().trim();
let branch = $(".file-navigation > .select-menu.float-left > button > .js-select-button").text();
let editUrl = `/${repoUrl}/edit/${branch}/${name}`;
let editUrl = `${repoUrl}/edit/${branch}/${name}`;
let div = $("<div></div>");
div.attr("id", "readme-edit-link");