summaryrefslogtreecommitdiff
path: root/modules/openid
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-02-14 13:46:20 -0500
committerwebchick <webchick@24967.no-reply.drupal.org>2012-02-14 13:46:20 -0500
commit476843c25e4da2ac1c6c375b2ee6e2c0f97275ff (patch)
treee6f669d2c3bf52ec814276050db4ffcb45b32d50 /modules/openid
parent5251e90c982b867d4bc25386b30f098f365cd52c (diff)
downloadbrdo-476843c25e4da2ac1c6c375b2ee6e2c0f97275ff.tar.gz
brdo-476843c25e4da2ac1c6c375b2ee6e2c0f97275ff.tar.bz2
Issue #1346914 by droplet: Use .length instead of jQuery.size().
Diffstat (limited to 'modules/openid')
-rw-r--r--modules/openid/openid.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openid/openid.js b/modules/openid/openid.js
index fdc97fa06..4a09e5a49 100644
--- a/modules/openid/openid.js
+++ b/modules/openid/openid.js
@@ -7,7 +7,7 @@ Drupal.behaviors.openid = {
var cookie = $.cookie('Drupal.visitor.openid_identifier');
// This behavior attaches by ID, so is only valid once on a page.
- if (!$('#edit-openid-identifier.openid-processed').size()) {
+ if (!$('#edit-openid-identifier.openid-processed').length) {
if (cookie) {
$('#edit-openid-identifier').val(cookie);
}