Sign in

陈晓峰 / drupal8 · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Network
  • drupal8
  • core
  • modules
  • responsive_image
  • js
  • responsive_image.ajax.js
  • update
    f202974f
    陈晓峰 authored
    2015-12-09 00:17:54 +0800  
    Browse Files »
responsive_image.ajax.js 284 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
(function (Drupal) {

  'use strict';

  /**
   * Call picturefill so newly added responsive images are processed.
   */
  Drupal.behaviors.responsiveImageAJAX = {
    attach: function () {
      if (window.picturefill) {
        window.picturefill();
      }
    }
  };

})(Drupal);