Skip to content

Commit 398b1f2

Browse files
committed
also construct view-post urls in javascript
1 parent dc40f2c commit 398b1f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/index_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ var index = `<!DOCTYPE html><html>
6363
</footer>
6464
</div>
6565
66-
<script src="static/index.js?v4"></script>
66+
<script src="static/index.js?v5"></script>
6767
</body>
6868
</html>`
6969

server/static/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function loadActivity() {
5454

5555
if (type == 'forum_post') {
5656
$tr.append($('<td class="title">').append($('<a>')
57-
.attr('href', 'https://www.pathofexile.com/forum/view-thread/' + activity.thread_id + '/page/' + activity.page_number + '#p' + activity.id)
57+
.attr('href', 'https://www.pathofexile.com/forum/view-post/' + activity.id)
5858
.text(activity.thread_title)
5959
));
6060
} else if (type == "reddit_post") {

0 commit comments

Comments
 (0)