Projet

Général

Profil

Révision 4f315dab

Ajouté par Assos Assos il y a environ 8 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/recaptcha/recaptcha.js
1
/**
2
 * @file
3
 * Drupal JavaScript behaviors for recaptcha.
4
 */
5

  
1 6
(function ($) {
2 7
  Drupal.behaviors.recaptcha = {
3 8
    attach: function (context) {
4 9
      Recaptcha.create(Drupal.settings.recaptcha.public_key, Drupal.settings.recaptcha.container, {theme: Drupal.settings.recaptcha.theme});
5 10
    },
6
    detach: function (context) {}
11
    detach: function (context) {
12
    }
7 13
  };
8 14
}(jQuery));

Formats disponibles : Unified diff