Add back permalinks but in a less ugly way

This commit is contained in:
Joshua Seigler 2017-09-05 01:35:15 -04:00
parent e8018afe6f
commit 51bac1d113
13 changed files with 12 additions and 13 deletions

View file

@ -131,7 +131,6 @@ function updateStats() {
$("div.descriptionContainer").html(descriptions);
var url = window.location.href.split("#")[0] + "#" + getHash();
$("a.permalink").attr("href",url);
$("a.permalink").html(url);
window.location.replace(url);
}