Spring naar inhoud
Uitslag is bekend

Stemmen

laden...
0
0
0
0
0
0
Aantal stemmen voor het plan: 0 van de 20.

Status

Breitner 41

Door: Angelo Stuivenberg
10 september 2024

----------

Bedankt voor het delen van uw mening. Zoals we u vooraf hadden laten weten gaan wij deze speelplek nu nog niet aanpassen. We waren vooral nieuwsgierig naar uw mening voor de toekomst. Zodra we hier wel aan de slag gaan komen wij bij u terug.


Heb je een vraag?

document.addEventListener('DOMContentLoaded', function () { // Function to update visibility based on the user's role function updateVisibilityBasedOnRole() { var choicesGuide = document.querySelector('.osc-choices-guide'); var signInRequired = document.querySelector('.sign-in-required'); if (!choicesGuide || !signInRequired) { console.warn( `Missing elements: ${ !choicesGuide ? '.osc-choices-guide' : '' } ${!signInRequired ? '.sign-in-required' : ''}`.trim() ); return; } if (openstadUserRole && openstadUserRole.trim() !== '') { // User is signed in choicesGuide.style.display = 'block'; signInRequired.style.display = 'none'; } else { // User is signed out choicesGuide.style.display = 'none'; signInRequired.style.display = 'block'; } } // Observe the DOM for changes to ensure elements are present var observer = new MutationObserver(function (mutationsList, observer) { var choicesGuide = document.querySelector('.osc-choices-guide'); var signInRequired = document.querySelector('.sign-in-required'); if (choicesGuide && signInRequired) { observer.disconnect(); // Stop observing once elements are found updateVisibilityBasedOnRole(); // Update visibility } }); // Start observing the entire document for child node additions observer.observe(document.body, { childList: true, subtree: true }); // Initial check if elements are already in the DOM updateVisibilityBasedOnRole(); });

Login om verder te gaan

Nieuwsbrief





Verversen

Annuleren