🇫🇷France @joachim desarmenien

Bordeaux
Account created on 25 March 2008, over 16 years ago
#

Merge Requests

More

Recent comments

🇫🇷France joachim desarmenien Bordeaux

Hello the issue ti make it work with media is here : https://www.drupal.org/project/cocoen_beforeafter/issues/3312086 Support for media Needs work

🇫🇷France joachim desarmenien Bordeaux

What do you think about replacing

(function($, Drupal, once) {
  Drupal.behaviors.beforeafter = {
    attach: function(context, settings) {
      once('.cocoen-beforeafter-container', context).cocoen();
    }
  }
})(jQuery, Drupal, once);

with

(function($, Drupal) {
  Drupal.behaviors.beforeafter = {
    attach: function(context) {
      once('cocoen', '.cocoen-beforeafter-container', context).forEach(function (element) {
          $(element).cocoen();
      });
    }
  }
})(jQuery, Drupal);

in cocoen_beforeafter.js

Production build 0.69.0 2024