diff --git a/static/main.js b/static/main.js index 39d3284..ba18e24 100644 --- a/static/main.js +++ b/static/main.js @@ -1,5 +1,5 @@ function fix_tag_links() { - $("#post-info").find("a").attr("href", function() { + $(".post-tag").attr("href", function() { return "/#" + encodeURIComponent($(this).text()); }); }