1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

change the default view mode of repo (#2399)

This commit is contained in:
C_Q
2018-09-25 22:41:40 +08:00
committed by Daniel Pan
parent 6d65771ddd
commit 7da4642806

View File

@@ -46,10 +46,10 @@ define([
var view_mode = Cookies.get('view_mode');
if (view_mode == 'grid') {
this.view_mode = 'grid';
} else if (view_mode == 'list'){
this.view_mode = 'list';
} else {
} else if (view_mode == 'wiki'){
this.view_mode = 'wiki';
} else {
this.view_mode = 'list';
}
this.contextOptions = {};