0

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

Marik Ishtar
  • 2,899
  • 1
  • 13
  • 27

1 Answers1

0

Try to download and install the IE update:

This is 32 bit: https://www.microsoft.com/en-us/download/confirmation.aspx?id=45134

This is 64 bit: https://www.microsoft.com/en-us/download/confirmation.aspx?id=45154

More details, please check this thread and this link.

Zhi Lv
  • 18,845
  • 1
  • 19
  • 30