don't scrollIntoView on expanding comments

A regression introduced in 94ee6a69
This commit is contained in:
Martin Zimmermann 2014-07-06 19:13:30 +02:00
parent 9674afbeed
commit 0c8ec38dda

View File

@ -89,10 +89,6 @@ define(["app/dom", "app/utils", "app/config", "app/api", "app/jade", "app/i18n",
if(rv.hidden_replies > 0) { if(rv.hidden_replies > 0) {
insert_loader(rv, lastcreated); insert_loader(rv, lastcreated);
} }
if (window.location.hash.length > 0) {
$(window.location.hash).scrollIntoView();
}
}, },
function(err) { function(err) {
console.log(err); console.log(err);