diff --git a/assets/themes/buurtnatuur/buurtnatuur.json b/assets/themes/buurtnatuur/buurtnatuur.json index 979ef09c14..3c7e66d36d 100644 --- a/assets/themes/buurtnatuur/buurtnatuur.json +++ b/assets/themes/buurtnatuur/buurtnatuur.json @@ -444,7 +444,8 @@ "operator=" ] }, - "then": "Beheer door de gemeente" + "then": "Beheer door de gemeente", + "hideInAnswer": true }, { "if": { diff --git a/index.ts b/index.ts index 8165f9bd2d..22bcaa9a1f 100644 --- a/index.ts +++ b/index.ts @@ -18,6 +18,12 @@ if (location.href.startsWith("http://buurtnatuur.be")) { window.location.replace("https://buurtnatuur.be"); } +let defaultLayout = "bookcases" +if (location.href.indexOf("buurtnatuur.be") >= 0) { + // Reload the https version. This is important for the 'locate me' button + defaultLayout = "buurtnatuur" +} + if (location.href.indexOf("buurtnatuur.be") >= 0) { defaultLayout = "buurtnatuur"