Hi,
Hopefully this is the right place to ask...?
I wrote a small event calendar extension¹ utilising the FullCalendar
jQuery plugin. Sometimes it happens that the display is garbled, see
attachment. My current dirty fix is to rerender the calendar after a
timeout².
My theory is that the outcome depends on the order of the JS and CSS
resources being loaded, so it depends on server and network latency. Is
this possible? Or can I be sure that all CSS is active when I init the
calendar? If not, is there a ResourceLoader hook I can use? Other ideas?
Live Demo:
https://foodhackingbase.org/wiki/Events
Sincerely,
--
Steffen Beyer <steffen(a)beyer.io>
¹
https://github.com/improper/mediawiki-extensions-yasec
²
https://github.com/improper/mediawiki-extensions-yasec/blob/master/resource…