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