1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 07:41:26 +00:00

[messages] fixup

This commit is contained in:
llj
2018-06-22 16:04:57 +08:00
parent 1244ecd9e4
commit b996701c1e

View File

@@ -265,7 +265,7 @@ function feedback(con, type, time) {
hide_pos_top = '-' + ($el.outerHeight() + parseInt(show_pos_top)) + 'px';
// add transition: from 'hide' to 'show'. the transition effect is offered by CSS.
$el.css({'left':($(window).width() - $el.width())/2, 'top': hide_pos_top});
$el.css({'left':($(window).width() - $el.width())/2, 'top': hide_pos_top}).removeClass('hide');
setTimeout(function() { $el.css({'top': show_pos_top}); }, 10);
setTimeout(function() { $el.css({'top': hide_pos_top}); }, 5000);