[fix] No need to resize body on every content update.

This commit is contained in:
opi 2016-05-23 21:08:06 +02:00
parent 48b8a536df
commit da9aa7d8c9

View file

@ -206,12 +206,6 @@
callback();
// Force scrollTop on page load
$('html, body').scrollTop(0);
// Resize body after the animation finishes (0.2s css transition)
// https://github.com/YunoHost/yunohost-admin/blob/231aac076a3aa836409b0d33fe02e48975990b7a/src/css/style.less#L92
setTimeout(function() {
$('body').resize();
}, 210);
});
};
@ -246,7 +240,6 @@
callback();
// Force scrollTop on page load
$('html, body').scrollTop(0);
$('body').resize();
});
}
},