Safari 8 no captions

No captions appear when using Safari 8 (Yosemite). The container will appear and disappear when you toggle the button, showing the background colour of the div but no captions appear.