I have an issue with how our shortcode content is rendering within tabs element. I have a shortcode for a calendar within each tab. I have asked the developer of the plugin for support and they provided a solution. How might I be able to add and event trigger to initiate the provided javascript functions to initiate within cornerstone?
Here is the page we are having issues with: https://dev.sd19.a2hosted.com/schedule-calendar/
Fix from the plugin developer:
"
I am noticing that if you resize the window, it triggers a JavaScript event that will get the calendar to render properly.
When the user clicks one of the tabs, you’ll need to run these two JavaScript functions:
r34ics_init();
r34icspro_init();
If you have an event trigger linked to clicking on those tabs, you’d just need to insert those two lines of code there.
"
Thank you