Simple jquery click trigger only works when inspector is open

Hey guys,

In the second section listing the services: “Design, Branding, web dev…” I want the first drop down open on pageload, so I added this simple jQuery. But it only opens when I have the inspector/developer tools open.

$(window).on(‘load’ , function(){
$(‘.dropdown’).find(‘#w-dropdown-toggle-0’).click(); });

Please help.


Share link: Webflow - Zorix

Thank you