summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/repos.html
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-16 12:34:32 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-16 12:34:32 +0200
commit233156b19ab2b3d490a8bb450bbb22fdff4caaec (patch)
tree2dd00b9811e854fcbf07588dbf68d23bfb2b5d31 /ogcp/templates/repos.html
parentf85c61df993dddee233ead7b6c9e136d9d9fa742 (diff)
js: consolidate sidebar collapse persistence logic
Consolidate all the sidebar collapse persistence logic. Implement a single function to handle all the views.
Diffstat (limited to 'ogcp/templates/repos.html')
-rw-r--r--ogcp/templates/repos.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/templates/repos.html b/ogcp/templates/repos.html
index 06bee58..9f15391 100644
--- a/ogcp/templates/repos.html
+++ b/ogcp/templates/repos.html
@@ -42,7 +42,7 @@
// in the scope
document.addEventListener('readystatechange', () => {
if (document.readyState === 'complete') {
- keepReposTreeState()
+ keepTreeState('#repos-list')
checkRepoServer()
}
});