Scroll to current uploading item
This commit is contained in:
parent
e4592190bc
commit
26c3cc9104
@ -82,6 +82,7 @@
|
|||||||
|
|
||||||
/* Row ------------------------------------------------*/
|
/* Row ------------------------------------------------*/
|
||||||
.upload_message .rows .row {
|
.upload_message .rows .row {
|
||||||
|
float: left;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 8px 0px;
|
padding: 8px 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -119,9 +119,9 @@ upload = {
|
|||||||
|
|
||||||
if (progress>=100) {
|
if (progress>=100) {
|
||||||
|
|
||||||
/*$(".upload_message .rows").animate({
|
var scrollPos = 0;
|
||||||
scrollTop: $(".upload_message .rows .row:nth-child(" + (file.num+1) + ")").offset().top - 200
|
if ((file.num+1)>4) scrollPos = (file.num + 1 - 4) * 40
|
||||||
}, 0);*/
|
$(".upload_message .rows").scrollTop(scrollPos);
|
||||||
|
|
||||||
$(".upload_message .rows .row:nth-child(" + (file.num+1) + ") .status").html("Processing");
|
$(".upload_message .rows .row:nth-child(" + (file.num+1) + ") .status").html("Processing");
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user