aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 8407cb79bb3..d60def34ebf 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -275,7 +275,7 @@
if (options.id) {
this.id = options.id;
}
- this.$container = options.scrollContainer || $(window);
+ this.$container = options.scrollContainer || $('#app-content');
this.$table = $el.find('table:first');
this.$fileList = $el.find('.files-fileList');
this.$header = $el.find('.filelist-header');