Contact

Submit the form below and we will get back to you as soon as possible.

document.addEventListener('DOMContentLoaded', function() { // Array of possible Swiper-related selectors const selectors = [ '.swiper', '.swiper-container', '.swiper-wrapper', '.swiper-slide', '[class*="swiper"]' // Catches any class containing "swiper" ]; // Function to remove inert attribute function removeInert(element) { if (element) { element.removeAttribute('inert'); } } // Remove inert from all matching elements selectors.forEach(selector => { const elements = document.querySelectorAll(selector); elements.forEach(el => removeInert(el)); }); // Observe the entire document for dynamic changes const observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { selectors.forEach(selector => { const elements = document.querySelectorAll(selector); elements.forEach(el => { if (el.hasAttribute('inert')) { removeInert(el); } }); }); }); }); // Observe the document for attribute changes observer.observe(document.body, { attributes: true, childList: true, subtree: true }); });