comparison core/modules/responsive_image/js/responsive_image.ajax.es6.js @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
1 (function (Drupal) { 1 (function(Drupal) {
2 /** 2 /**
3 * Call picturefill so newly added responsive images are processed. 3 * Call picturefill so newly added responsive images are processed.
4 */ 4 */
5 Drupal.behaviors.responsiveImageAJAX = { 5 Drupal.behaviors.responsiveImageAJAX = {
6 attach() { 6 attach() {
7 if (window.picturefill) { 7 if (window.picturefill) {
8 window.picturefill(); 8 window.picturefill();
9 } 9 }
10 }, 10 },
11 }; 11 };
12 }(Drupal)); 12 })(Drupal);