mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
[dir view] bugfix for img view with magnificPopup
This commit is contained in:
@@ -176,8 +176,6 @@ define([
|
||||
Common.updateSortIconByMode({'context': this.$el});
|
||||
this.sortDirents();
|
||||
|
||||
this.updateMagnificPopupOptions();
|
||||
|
||||
this.dir.last_start = 0;
|
||||
this.dir.limit = 100;
|
||||
this.render_dirents_slice(this.dir.last_start, this.dir.limit);
|
||||
@@ -737,6 +735,8 @@ define([
|
||||
}
|
||||
|
||||
this.dir.sort();
|
||||
|
||||
this.updateMagnificPopupOptions();
|
||||
},
|
||||
|
||||
sortByName: function() {
|
||||
|
Reference in New Issue
Block a user