Commit 85485bad authored by Efthymia Bika's avatar Efthymia Bika Committed by Giorgos Korfiatis

Always scroll down to show messages

parent 90950d01
......@@ -137,12 +137,10 @@ function show_alert_box(msg, alert_type, hide) {
if(hide) {
$("#" + alert_type + "-alert").delay(800).fadeOut(400);
}
if(alert_type == "error") {
$("html,body").animate({
scrollTop: $("#msg").offset().top},
"slow"
);
}
$("html,body").animate({
scrollTop: $("#msg").offset().top},
"slow"
);
}
function save_backup_set(is_template) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment