Parcourir la source

Fix grid view

Signed-off-by: Jonathan Matthews <jgit@pixelnet.work>
tags/v17.0.0beta2
Jonathan Matthews il y a 4 ans
Parent
révision
1ae45bdaa1
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5
    0
      apps/files/js/filelist.js

+ 5
- 0
apps/files/js/filelist.js Voir le fichier

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

/**

Chargement…
Annuler
Enregistrer