add-to-calendar-buttons icon indicating copy to clipboard operation
add-to-calendar-buttons copied to clipboard

IE7/IE8 javascript error

Open marcovtwout opened this issue 11 years ago • 2 comments

https://github.com/carlsednaoui/add-to-calendar-buttons/blob/master/ouical.js#L151

Class is a reserved keyword. Replace by:

params.options["class"]

marcovtwout avatar Feb 06 '14 10:02 marcovtwout

Even better: rename the keyword to something non-reserved, like "cssClass"

marcovtwout avatar Feb 06 '14 10:02 marcovtwout

Good call!

I'll be reviewing this lib in the coming weeks. Let me know if you have any other feedback. Thanks @marcovtwout!

carlsednaoui avatar Feb 06 '14 14:02 carlsednaoui