Why does my JavaScript work in the browser console but does not work in my shortcode?

Solved by wrapping everything in document.addEventListener(“DOMContentLoaded”, function() {} Realized it was trying to fire the script off document.addEventListener(“DOMContentLoaded”, function () { var getSiblings = function (elem) { // Setup siblings array and get the parent var siblings = []; var sibling = elem.parentNode.parentNode; // Loop through each sibling and push to the array while (sibling) … Read more

techhipbettruvabetnorabahisbahis forumutaraftarium24edueduseduedueduseduedusedueduedu