summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/details/files.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/js/lib/views/details/files.js')
-rw-r--r--public/assets/js/lib/views/details/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/details/files.js b/public/assets/js/lib/views/details/files.js
index 98b9350..915f90b 100644
--- a/public/assets/js/lib/views/details/files.js
+++ b/public/assets/js/lib/views/details/files.js
@@ -21,7 +21,7 @@ var FilesView = FormView.extend({
}
var total = 0, has_music = false
- this.files = files || this.files
+ this.files = this.files.concat(files)
this.thread = thread || this.thread
this.files.forEach(function(file){
if (is_image(file.filename)) {