update post has in address bar, #1126

This commit is contained in:
Baris Soner Usakli
2014-02-25 14:51:11 -05:00
parent 7c1a46f25d
commit 4b1c8150d3

View File

@@ -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;
}