From 4b1c8150d375e58c5e03ae946ba45b0c1fc22cca Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Tue, 25 Feb 2014 14:51:11 -0500 Subject: [PATCH] update post has in address bar, #1126 --- public/src/forum/topic.js | 1 + 1 file changed, 1 insertion(+) 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; }