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 |
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 commentedFixed per #1484634 addition of context param.