I am customizing fullcalendar4.2.0. I get a "datesRender error" only in IE (v.11), but Firefox and Chrome operated well.
Help me!
datesRender: function(info) {//일 삭제 viewSkeletonRender
if(info.view.type == 'dayGridMonth') {
info.el.querySelectorAll('.fc-day-number').forEach(function(v,i,a) {
a[i].innerText = v.innerText.replace(/일/, '');
});
} else if(info.view.type == 'timeGridWeek') {
info.el.querySelectorAll('th.fc-day-header a').forEach(function(v,i,a) {
var s = v.innerText.trim().split('.');
a[i].innerHTML = '<small>'+s[2]+'<\/small>'+s[1];
});
}
}
Error message in IE:
exception in window.onload:Error:An error has accourredJSPlugin,3005