mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +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) {
|
if(window.location.hash) {
|
||||||
Topic.scrollToPost(window.location.hash.substr(1));
|
Topic.scrollToPost(window.location.hash.substr(1));
|
||||||
} else if(bookmark) {
|
} else if(bookmark) {
|
||||||
if(bookmark) {
|
|
||||||
Topic.scrollToPost(parseInt(bookmark, 10));
|
Topic.scrollToPost(parseInt(bookmark, 10));
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
updateHeader();
|
updateHeader();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user