diff options
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui.js b/ui.js index 148d2a6..ab85bf7 100644 --- a/ui.js +++ b/ui.js @@ -384,6 +384,11 @@ class AppElement extends FocusElement { return } + // Don't start downloading an item if we're already downloading it! + if (this.recordStore.getRecord(item).downloading) { + return + } + const arg = item.downloaderArg this.recordStore.getRecord(item).downloading = true try { |