diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-27 20:19:38 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-27 20:19:38 +0000 |
commit | fc7283235bb9e5ae4300714d03c0bf3723f4792b (patch) | |
tree | 0dc443ba5dc1f74fbfc5ad5762c7c7a556232b73 /modules/openid | |
parent | 031ba7d66533b3bb6e1ceb1cc834e9af9b1a3c71 (diff) | |
download | brdo-fc7283235bb9e5ae4300714d03c0bf3723f4792b.tar.gz brdo-fc7283235bb9e5ae4300714d03c0bf3723f4792b.tar.bz2 |
#444402 follow-up by kkaefer: Fix autocomplete, enforce code style for anonymous JS functions.
Diffstat (limited to 'modules/openid')
-rw-r--r-- | modules/openid/openid.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/openid/openid.js b/modules/openid/openid.js index 14d70d3a1..78c1d2b3f 100644 --- a/modules/openid/openid.js +++ b/modules/openid/openid.js @@ -1,8 +1,8 @@ // $Id$ -(function($) { +(function ($) { Drupal.behaviors.openid = { - attach: function(context) { + attach: function (context) { var loginElements = $('#edit-name-wrapper, #edit-pass-wrapper, li.openid-link'); var openidElements = $('#edit-openid-identifier-wrapper, li.user-link'); @@ -15,7 +15,7 @@ Drupal.behaviors.openid = { } $('li.openid-link:not(.openid-processed)', context) .addClass('openid-processed') - .click(function() { + .click(function () { loginElements.hide(); openidElements.css('display', 'block'); // Remove possible error message. @@ -27,7 +27,7 @@ Drupal.behaviors.openid = { }); $('li.user-link:not(.openid-processed)', context) .addClass('openid-processed') - .click(function() { + .click(function () { openidElements.hide(); loginElements.css('display', 'block'); // Clear OpenID Identifier field and remove possible error message. |