Closed uqcgreen closed 7 years ago
Hi there,
Couldn't get this to load on ie11. Due to tag_class[0] not existing.
I changed:
var tag_class = dom[tagnum].className; if (tag_class.length && tag_class.split(" ").indexOf('addtocalendar') != -1) { var settings = addtocalendar.loadSettings(dom[tagnum]);
To:
var tag_class = dom[tagnum].className; if (tag_class && tag_class.length && tag_class.split(" ").indexOf('addtocalendar') != -1) { var settings = addtocalendar.loadSettings(dom[tagnum]);
And it sprang into life.
Fixed.
Hi there,
Couldn't get this to load on ie11. Due to tag_class[0] not existing.
I changed:
To:
And it sprang into life.