Untitled

mail@pastecode.io avatar
unknown
javascript
16 days ago
359 B
2
Indexable
Never
<script>
window.addEventListener('load', function () {

let opened = [1, 3, 5];

setTimeout(function () {
let toggles = document.querySelectorAll('.openedByDefault .elementor-tab-title, .openedByDefault .e-n-accordion-item-title, .openedByDefault .e-n-tab-title');
opened.forEach((i) => {
if (toggles[i - 1]) toggles[i - 1].click();
});
}, 300);
});
</script>
Leave a Comment