[Plugin: MailChimp List Subscribe Form] Trailing commas break JavaScript on IE7
-
Hi guys,
This has probably been reported before but I can’t see it.
In the mc_datepicker_load() function there are two objects that have trailing commas. These break JavaScript in IE7 and stop all other scripts working.
Really simple to fix. Change line 139:
dateFormat: 'yy/mm/dd',
to
dateFormat: 'yy/mm/dd'
and change line 151:
dateFormat: 'mm/dd',
to
dateFormat: 'mm/dd'
I know usage of IE7 is declining, but don’t see any reason not to do this trivial fix (and scan your code for other occurrences).
Thanks
- The topic ‘[Plugin: MailChimp List Subscribe Form] Trailing commas break JavaScript on IE7’ is closed to new replies.