root / drupal7 / sites / all / modules / recaptcha / recaptcha.js @ 4f315dab
1 |
/**
|
---|---|
2 |
* @file
|
3 |
* Drupal JavaScript behaviors for recaptcha.
|
4 |
*/
|
5 |
|
6 |
(function ($) { |
7 |
Drupal.behaviors.recaptcha = { |
8 |
attach: function (context) { |
9 |
Recaptcha.create(Drupal.settings.recaptcha.public_key, Drupal.settings.recaptcha.container, {theme: Drupal.settings.recaptcha.theme});
|
10 |
}, |
11 |
detach: function (context) { |
12 |
} |
13 |
}; |
14 |
}(jQuery)); |