Skip to content

Node.js based forum software built for the modern web

update post has in address bar, #1126

Baris Soner Usakli4b1c8150d375
diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js
index 2076d7e689..5ab2467b33 100644
--- a/public/src/forum/topic.js
+++ b/public/src/forum/topic.js
@@ -1023,6 +1023,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
localStorage.removeItem("topic:" + templates.get('topic_id') + ":bookmark");
} else {
localStorage.setItem("topic:" + templates.get('topic_id') + ":bookmark", el.attr('data-pid'));
+ window.location.hash = el.attr('data-pid');
}
return false;
}