Streaming live at 10am (PST)

Webflow.push runs code 3 times

I was just doing some testing with the correct way to call functions after the site has loaded to ensure JQuery is loaded first. When using the Webflow.push method below the code gets called 3 times. When using the document.addEventListener method below the code only gets called 1 time as expected. Any ideas why Webflow.push would run the code 3 times?

var Webflow = Webflow || ;
Webflow.push(function () {
console.log(“This is a test”);
});

document.addEventListener(‘DOMContentLoaded’, function(){
console.log(“This is a test”);
}, false);

Looks like an issue with F’in Sweet slider library causing this.