diff options
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/filelist.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 8d93a457e90..7bc91e6d0e2 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -672,6 +672,11 @@ .addClass(show ? 'icon-toggle-filelist' : 'icon-toggle-pictures') $('.list-container').toggleClass('view-grid', show); + if (show) { + // If switching into grid view from list view, too few files might be displayed + // Try rendering the next page + this._onScroll(); + } }, /** |