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

* Change the changelog link to link to prettier/prettier

* Fix changelog links

* Double quotes
This commit is contained in:
Jed Fox authored and Joseph Frazier committed 2017-12-26 00:04:02 -05:00
1 parent 4c9d4061da
commit 1a3248bbc2
1 file changed
+2 -2
+2 -2
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;
}