var slide = this.uploadedSlide;
this.uploadedSlide.removeChild(slide.label);
this.uploadedSlide.removeChild(slide.progressBar);
var slide = this.uploadedSlide;
this.uploadedSlide.removeChild(slide.label);
this.uploadedSlide.removeChild(slide.progressBar);
if (evt.lengthComputable) {
var progress = evt.loaded / evt.total;
this.updateProgressBar(progress);
if (evt.lengthComputable) {
var progress = evt.loaded / evt.total;
this.updateProgressBar(progress);
this.previewQueue.push(slide);
if (!this._previewQueueRunning) {
this.startPreviewQueue();
}
};
this.previewQueue.push(slide);
if (!this._previewQueueRunning) {
this.startPreviewQueue();
}
};
if (this.previewQueue.length && this.previewsLoaded < MAX_PREVIEW) {
var slide = this.previewQueue.shift();
this.previewUploadedImage(slide);
if (this.previewQueue.length && this.previewsLoaded < MAX_PREVIEW) {
var slide = this.previewQueue.shift();
this.previewUploadedImage(slide);