From 79ccc7678d718b147228f709d3879dfb08731c47 Mon Sep 17 00:00:00 2001 From: NTsch Date: Thu, 10 Oct 2024 09:38:35 +0200 Subject: [PATCH] fold out index entry by default (for #1187) --- my/XRX/src/mom/app/index/js/index.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/my/XRX/src/mom/app/index/js/index.js b/my/XRX/src/mom/app/index/js/index.js index 3cd38239a..70655fff5 100644 --- a/my/XRX/src/mom/app/index/js/index.js +++ b/my/XRX/src/mom/app/index/js/index.js @@ -33,16 +33,7 @@ }) } ; - - - var parameter = window.location.href; - if(parameter.includes('?pm=charter')){ - $("span.moreless").toggle(); - $("div.entry").toggle(); - $(spanless).toggle(); - - - } + $("span.moreless").click(function(){ $("span.moreless").toggle(); $("div.entry").toggle();