mirror of
https://github.com/unraid/webgui.git
synced 2026-02-25 03:38:44 -06:00
@@ -833,7 +833,7 @@ var options_net = {
|
||||
var cpuchart = new ApexCharts(document.querySelector('#cpuchart'), options_cpu);
|
||||
var netchart = new ApexCharts(document.querySelector('#netchart'), options_net);
|
||||
|
||||
if (cookie.port_select && !ports.includes(cookie.port_select)) {
|
||||
if (cookie.port_select!=null && !ports.includes(cookie.port_select)) {
|
||||
delete cookie.port_select;
|
||||
saveCookie();
|
||||
}
|
||||
@@ -1356,6 +1356,7 @@ function openClose(button) {
|
||||
hidden.splice(hidden.indexOf(tbody.attr('sort')),1);
|
||||
}
|
||||
cookie.hidden_content = hidden.join(';');
|
||||
saveCookie();
|
||||
} else {
|
||||
// show/hide all tiles content
|
||||
if (hidden.length==0) {
|
||||
@@ -1365,15 +1366,16 @@ function openClose(button) {
|
||||
hidden.push($(this).attr('sort'));
|
||||
});
|
||||
cookie.hidden_content = hidden.join(';');
|
||||
saveCookie();
|
||||
} else {
|
||||
$('div.frame tbody').each(function(){
|
||||
$(this).find('.openclose').removeClass('fa-chevron-up fa-chevron-down').addClass('fa-chevron-up');
|
||||
$(this).mixedView(1);
|
||||
});
|
||||
delete cookie.hidden_content;
|
||||
saveCookie();
|
||||
}
|
||||
}
|
||||
saveCookie();
|
||||
}
|
||||
|
||||
function dismiss(button) {
|
||||
|
||||
Reference in New Issue
Block a user