Browse Source

faster

master
Pascal Gloor 5 years ago
parent
commit
ff93b4697b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      www/js/autodoc.js

+ 2
- 2
www/js/autodoc.js View File

conf.run.upload_handler = 0; conf.run.upload_handler = 0;
} }
else { else {
setTimeout(function () { upload_handler(); }, 2000);
setTimeout(function () { upload_handler(); }, 500);
} }
} }


} }
else if (file.progress == 100) { else if (file.progress == 100) {
$(obj).html(file.obj.name); $(obj).html(file.obj.name);
$(obj).css('width', '100%');
$(obj).addClass('bg-success'); $(obj).addClass('bg-success');
$(obj).removeClass('progress-bar-animated'); $(obj).removeClass('progress-bar-animated');
$(obj).removeClass("progress-bar-striped"); $(obj).removeClass("progress-bar-striped");
$(obj).css('width', '100%');
} }
else if (file.progress < 50) { else if (file.progress < 50) {
$(obj).html(file.obj.name + ': ' + 'reading file'); $(obj).html(file.obj.name + ': ' + 'reading file');

Loading…
Cancel
Save