Untitled

 avatar
unknown
javascript
a year ago
359 B
5
Indexable
<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>
Editor is loading...
Leave a Comment