mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
removed double if
This commit is contained in:
@@ -338,9 +338,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
|
||||
if(window.location.hash) {
|
||||
Topic.scrollToPost(window.location.hash.substr(1));
|
||||
} else if(bookmark) {
|
||||
if(bookmark) {
|
||||
Topic.scrollToPost(parseInt(bookmark, 10));
|
||||
}
|
||||
Topic.scrollToPost(parseInt(bookmark, 10));
|
||||
} else {
|
||||
updateHeader();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user