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.
If images are in a tab, such as via quicktabs loaded with ajax, the JavaScript never attaches to the new images added to the DOM. This is fixed if you use Drupal.behaviors.
Comment | File | Size | Author |
---|---|---|---|
jail_behaviors.patch | 528 bytes | catch |
Comments
Comment #1
catchI've pushed this, but Drupal.behaviors needs to take the context param, so this fix wasn't quite right.
Comment #2
svajlenka CreditAttribution: svajlenka commentedFixed per #1484634 addition of context param.