Change the changelog link to link to prettier/prettier (#3564)

* Change the changelog link to link to prettier/prettier

* Fix changelog links

* Double quotes
master
Jed Fox 2017-12-26 00:04:02 -05:00 committed by Joseph Frazier
parent 4c9d4061da
commit 1a3248bbc2
1 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,8 @@ window.onload = function() {
prettierVersion;
} else {
link.href =
"https://github.com/j-f1/forked-prettier/blob/master/CHANGELOG.md#" +
prettierVersion;
"https://github.com/prettier/prettier/blob/master/CHANGELOG.md#" +
prettierVersion.replace(/\./g, "");
}
link.textContent = "v" + prettierVersion;
}