1
0
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:
llj
2017-02-09 16:00:36 +08:00
parent 8a61fbf81a
commit f85d9e8e67

View File

@@ -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() {