Set dropdown initial state to open

You can reduce all of that code to

$('.dropdown-toggle').trigger('tap');
3 Likes