We will be carrying out planned maintenance on our systems from 6pm NZST - 9pm NZST on 25 March. This may temporarily affect some services, however we will do our best to keep disruption to a minimum. Thank you for your patience and understanding.
(function notificationCheck() {
// check for the container initialized class
var notifications = document.querySelector('#notifications-bar .swiper-initialized');
// easiest check to prevent race condition
if (notifications != null) {
//start autoplay if there's more than one notification (> 3 slides)
if (notifications.swiper.slides.length > 3) {
notifications.swiper.autoplay.start();
}
} else {
setTimeout(notificationCheck, 20);
}
})();