From db2869088fcd19ac60bd110ad04a8c6b74f9d306 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Mon, 16 Sep 2024 13:09:44 +0200 Subject: js: remove unused function unfoldAll Remove dead code. --- ogcp/static/js/ogcp.js | 4 ---- ogcp/templates/base.html | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ogcp/static/js/ogcp.js b/ogcp/static/js/ogcp.js index 658748f..4136df6 100644 --- a/ogcp/static/js/ogcp.js +++ b/ogcp/static/js/ogcp.js @@ -298,10 +298,6 @@ function updateScopes(scopes) { return hasLiveChildren; } -function unfoldAll() { - $('#scopes .collapse').collapse('show'); -} - function checkImageServer() { const images = $('input:checkbox[form|="imagesForm"][name!="image-server"]') diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index c9b2d63..798674b 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -111,7 +111,7 @@ - +