mirror of
https://github.com/unraid/webgui.git
synced 2026-04-20 00:30:39 -05:00
Minor correction: let container list start in basic view with collapsed rows when no cookie is set yet
This commit is contained in:
@@ -71,10 +71,10 @@ function resetSorting() {
|
||||
$.post('/plugins/dynamix.docker.manager/include/UserPrefs.php',{reset:true},function(){loadlist();});
|
||||
}
|
||||
function listview() {
|
||||
if ($.cookie('docker_listview_mode')=='basic') {
|
||||
$('.docker_readmore').readmore({maxHeight:32,moreLink:"<a href='#' style='text-align:center'><i class='fa fa-chevron-down'></i></a>",lessLink:"<a href='#' style='text-align:center'><i class='fa fa-chevron-up'></i></a>"});
|
||||
} else {
|
||||
if ($.cookie('docker_listview_mode')=='advanced') {
|
||||
$('.docker_readmore').readmore('destroy');
|
||||
} else {
|
||||
$('.docker_readmore').readmore({maxHeight:32,moreLink:"<a href='#' style='text-align:center'><i class='fa fa-chevron-down'></i></a>",lessLink:"<a href='#' style='text-align:center'><i class='fa fa-chevron-up'></i></a>"});
|
||||
}
|
||||
}
|
||||
function loadlist(update) {
|
||||
|
||||
Reference in New Issue
Block a user