/** * Coming Soon Overlay * Displays over Koha pages until Stripe is configured */ (function() { 'use strict'; // Check if we should show the overlay const shouldShowOverlay = () => { // Only show on Koha pages const isKohaPage = window.location.pathname.includes('/koha'); return isKohaPage; }; // Create and inject overlay if (shouldShowOverlay()) { const overlayHTML = `
`; document.body.insertAdjacentHTML('beforeend', overlayHTML); } })();