()
| 245 | } |
| 246 | |
| 247 | _dequeueFile() { |
| 248 | if (!this._filesQueue.length) { // nothing to do |
| 249 | this._busy = false; |
| 250 | return; |
| 251 | } |
| 252 | // dequeue next file |
| 253 | setTimeout(_ => { |
| 254 | this._busy = false; |
| 255 | this._nextFile(); |
| 256 | }, 300); |
| 257 | } |
| 258 | |
| 259 | _displayFile(file) { |
| 260 | const $a = this.$el.querySelector('#download'); |