WordPress.org

Forums

MailChimp List Subscribe Form
Trailing commas break JavaScript on IE7 (1 post)

  1. Ross Wintle
    Member
    Posted 3 years ago #

    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

    http://wordpress.org/extend/plugins/mailchimp/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MailChimp List Subscribe Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic