removed double if

v1.18.x
Baris Soner Usakli 11 years ago
parent 92ebf2975a
commit 9b88dcdc14

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

Loading…
Cancel
Save