Selaa lähdekoodia

Merge pull request #16798 from jmattt/gridview-fix

Fix scrolling after switching to grid view
tags/v17.0.0beta2
Roeland Jago Douma 4 vuotta sitten
vanhempi
commit
89d7ffebd5
No account linked to committer's email address
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5
    0
      apps/files/js/filelist.js

+ 5
- 0
apps/files/js/filelist.js Näytä tiedosto

@@ -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();
}
},

/**

Loading…
Peruuta
Tallenna