Fix: initialize user settings with a strict value to be able to override it

This commit is contained in:
Pieter Vander Vennet 2023-09-25 02:09:42 +02:00
parent 90c44cc8bd
commit 57e0093e47

View file

@ -24,7 +24,7 @@
"_mastodon_candidate_a=(feat => {const e = document.createElement('div');e.innerHTML = feat.properties._d;return Array.from(e.getElementsByTagName(\"a\")).filter(a => a.href.match(/mastodon|en.osm.town/) !== null)[0]?.href }) (feat) ",
"_mastodon_link=(feat => {const e = document.createElement('div');e.innerHTML = feat.properties._d;return Array.from(e.getElementsByTagName(\"a\")).filter(a => a.getAttribute(\"rel\")?.indexOf('me') >= 0)[0]?.href})(feat) ",
"_mastodon_candidate=feat.properties._mastodon_candidate_md ?? feat.properties._mastodon_candidate_a",
"__current_background='initial_value'"
"__current_background:='initial_value'"
],
"tagRenderings": [
{