document.addEventListener("DOMContentLoaded", function() {
var button = document.querySelector('#gotoquotebutton');
var valueElement = document.querySelector('#gotoquotebutton .jet-engine-data-store-count');
if (!button || !valueElement) {
console.error('Elements not found');
return;
}
// Function to check the value and update button visibility
function updateButtonVisibility() {
if (valueElement.textContent.trim() === '0') {
button.style.display = 'none !important';
button.style.visibility = 'hidden';
} else {
button.style.display = '';
button.style.visibility = 'visible';
}
}
// Initial check in case the value is not 0 when the page loads
updateButtonVisibility();
// MutationObserver to watch for changes in the value
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (mutation.type === 'childList') {
updateButtonVisibility();
}
});
});
// Configuration of the observer
var config = { childList: true };
// Start observing the target element
observer.observe(valueElement, config);
});
שכונת גני יהודה, גני תקווה. אזור סמוך עם בתים פרטיים ומגרשים גדולים. מאגרים ומערכות השקיה. כאן מרוכזים המדריכים והמאמרים המקצועיים של קבוצת דודי עבור השכונה — משאבות מים, לוחות פיקוד, הגברת לחץ, אחזקת חדר משאבות ומערכות כיבוי אש. טכנאים מוסמכים, עבודה לפי התקנים הישראליים ומוקד חירום 24 שעות ביממה.