view core/modules/responsive_image/js/responsive_image.ajax.es6.js @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children 129ea1e6d783
line wrap: on
line source
(function (Drupal) {
  /**
   * Call picturefill so newly added responsive images are processed.
   */
  Drupal.behaviors.responsiveImageAJAX = {
    attach() {
      if (window.picturefill) {
        window.picturefill();
      }
    },
  };
}(Drupal));