From 233156b19ab2b3d490a8bb450bbb22fdff4caaec Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Mon, 16 Sep 2024 12:34:32 +0200 Subject: js: consolidate sidebar collapse persistence logic Consolidate all the sidebar collapse persistence logic. Implement a single function to handle all the views. --- ogcp/templates/images.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ogcp/templates/images.html') diff --git a/ogcp/templates/images.html b/ogcp/templates/images.html index 462e68d..34d8a87 100644 --- a/ogcp/templates/images.html +++ b/ogcp/templates/images.html @@ -14,7 +14,7 @@ // in the scope document.addEventListener('readystatechange', () => { if (document.readyState === 'complete') { - keepImagesTreeState(); + keepTreeState('#servers'); checkImageServer(); } }); -- cgit v1.2.3-18-g5258