Ver código fonte

Fix grid view

Signed-off-by: Jonathan Matthews <jgit@pixelnet.work>
tags/v17.0.0beta2
Jonathan Matthews 4 anos atrás
pai
commit
1ae45bdaa1
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5
    0
      apps/files/js/filelist.js

+ 5
- 0
apps/files/js/filelist.js Ver arquivo

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

/**

Carregando…
Cancelar
Salvar