|
|
@ -566,7 +566,7 @@
|
|
|
|
})
|
|
|
|
})
|
|
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
var noticeInner = document.querySelector('.notice__inner');
|
|
|
|
var noticeInner = document.querySelector('.notice__inner');
|
|
|
|
var noticeItems = Array.from(document.querySelectorAll('.notice__item'));
|
|
|
|
var noticeItems = Array.prototype.slice.call(document.querySelectorAll('.notice__item'));
|
|
|
|
var currentIndex = 0;
|
|
|
|
var currentIndex = 0;
|
|
|
|
if (noticeItems.length > 1) {
|
|
|
|
if (noticeItems.length > 1) {
|
|
|
|
function showCurrentNotice() {
|
|
|
|
function showCurrentNotice() {
|
|
|
|