Title: [Plugin: Jetpack by WordPress.com] JavaScript Error in IE7 &#8211; Gravatar Hovercards
Last modified: August 20, 2016

---

# [Plugin: Jetpack by WordPress.com] JavaScript Error in IE7 – Gravatar Hovercards

 *  [Curtiss Grymala](https://wordpress.org/support/users/cgrymala/)
 * (@cgrymala)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-javascript-error-in-ie7-gravatar-hovercards/)
 * I am using a self-hosted WordPress site with JetPack enabled. Today, I came across
   an issue with the Gravatar Hovercards component within JetPack on that site. 
   Within the JavaScript for Gravatar Hovercards (the gprofiles.js?ver=2012Octaaa
   file, to be specific – it doesn’t seem to appear in the version without the ver
   parameter specified; but it does seem to show up in any copy with “aaa” in its
   ver parameter), there is an object declaration that ends with a comma. In Internet
   Explorer 7 and earlier (I’ve heard reports that this issue is also a problem 
   in IE8, but haven’t been able to reproduce that), object declarations that ended
   with commas threw JavaScript errors, because IE expected one more item to be 
   defined within that object declaration.
 * I realize IE7 is old, and warrants very little support, but this type of fix 
   should be fairly simple to correct. If you search gprofiles.js?ver=2012Octaaa,
   you will find the following statement:
 * `'padding':'0px','margin':'-2px 0 0 -2px',};if(jQuery.browser.msie&&9>jQuery.
   browser.version)`
 * In the CSS declaration found in that snippet, the comma after `-2px'` is throwing
   a JavaScript error in IE7. Thanks.
 * [http://wordpress.org/extend/plugins/jetpack/](http://wordpress.org/extend/plugins/jetpack/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Contributor [Tim Moore](https://wordpress.org/support/users/tmoorewp/)
 * (@tmoorewp)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-javascript-error-in-ie7-gravatar-hovercards/#post-3083758)
 * Thanks for letting us know. We’ll take a look.
 *  [Thomas McMahon](https://wordpress.org/support/users/twistermc/)
 * (@twistermc)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-javascript-error-in-ie7-gravatar-hovercards/#post-3083853)
 * Thanks Curtiss for post a fix. Now I can patch my code while I wait for JetPack
   to update.
 *  [tomaszs](https://wordpress.org/support/users/tomaszs/)
 * (@tomaszs)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-javascript-error-in-ie7-gravatar-hovercards/#post-3083879)
 * It would be nice to have this fixed.
    The error also occurs in IE8
 *  [Thomas McMahon](https://wordpress.org/support/users/twistermc/)
 * (@twistermc)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-javascript-error-in-ie7-gravatar-hovercards/#post-3083892)
 * Can this be patched in the plugin? Or does it have to be fixed on gravatar.com?
 *  Plugin Contributor [Tim Moore](https://wordpress.org/support/users/tmoorewp/)
 * (@tmoorewp)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-javascript-error-in-ie7-gravatar-hovercards/#post-3083893)
 * This has been patched on our servers. It may take a few days for the caches to
   clear out, though.
 *  [Thomas McMahon](https://wordpress.org/support/users/twistermc/)
 * (@twistermc)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-javascript-error-in-ie7-gravatar-hovercards/#post-3083894)
 * Thank you.
 *  [retrocool](https://wordpress.org/support/users/retrocool/)
 * (@retrocool)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-javascript-error-in-ie7-gravatar-hovercards/#post-3083928)
 * I still get two script errors on my site when using IE7 and Jetpack and none 
   when I turn Jetpack off.
 * Barring IE7 magically becoming a decent browser, I have to turn jetpack off for
   now.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: Jetpack by WordPress.com] JavaScript Error in IE7 – Gravatar
Hovercards’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [object](https://wordpress.org/support/topic-tag/object/)

 * 7 replies
 * 5 participants
 * Last reply from: [retrocool](https://wordpress.org/support/users/retrocool/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-javascript-error-in-ie7-gravatar-hovercards/#post-3083928)
 * Status: not a support question