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.
On a site running v7.x-2.9, when a page is loaded the "stLight" variable is undefined but the JS for checking this fact results in errors in IE8:
'stLight' is undefined
Comment | File | Size | Author |
---|---|---|---|
#1 | sharethis-n2339561-1.patch | 505 bytes | DamienMcKenna |
Comments
Comment #1
DamienMcKennaThis appears to resolve the problem.
Comment #2
stefan.r CreditAttribution: stefan.r commentedYes, that was introduced in #1845134: If JS from ShareThis does not load (due to adblocker or server failure), do not break other JS on the page and breaks Firefox with an adblocker.
New fix is correct :)
Comment #3
DamienMcKennaComment #4
purushotam.rai CreditAttribution: purushotam.rai at QED42 commentedComment #6
purushotam.rai CreditAttribution: purushotam.rai at QED42 commentedMarking this issue as fixed. Thanks a lot for all your efforts.