Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The meta tag property selector used in gigya_sharebar.js
is invalid in jQuery versions 1.5 and above.
$('meta[property=og:image]')
...should become...
$('meta[property="og:image"]')
(double-quotes around og:image)
Steps to Reproduce
- Download https://drupal.org/project/jquery_update and install, configure to use newer version of jQuery
- Look in console for error on any page gigya_sharebar.js is loaded
See http://stackoverflow.com/a/6749201/1229018 and http://api.jquery.com/category/selectors/attribute-selectors/
Comment | File | Size | Author |
---|---|---|---|
#3 | metatag_selector-2137473.patch | 2.88 KB | eyeless |
gigya-jQuery-meta-tag-selector-bug.patch | 815 bytes | sokrplare |
Comments
Comment #1
prophet108 CreditAttribution: prophet108 commentedThank you!
Comment #2
eyeless CreditAttribution: eyeless commentedComment #3
eyeless CreditAttribution: eyeless commentedHere is a patch for all the js files where error appears.
Also, corrects the 'description' typo, where 'ua' is missing.
Comment #4
gambaweb CreditAttribution: gambaweb commentedthanks for that , added patches