summaryrefslogtreecommitdiffstats
path: root/templates/content/jquery-openid/jquery.openid.js
diff options
context:
space:
mode:
Diffstat (limited to 'templates/content/jquery-openid/jquery.openid.js')
-rw-r--r--templates/content/jquery-openid/jquery.openid.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/content/jquery-openid/jquery.openid.js b/templates/content/jquery-openid/jquery.openid.js
index 6486fd39..763af2c6 100644
--- a/templates/content/jquery-openid/jquery.openid.js
+++ b/templates/content/jquery-openid/jquery.openid.js
@@ -36,7 +36,7 @@ $.fn.openid = function() {
};
var local = function() {
var $li = $(this);
- $li.parent().find('li').removeClass('highlight');
+ $('#openid_form .providers li').removeClass('highlight');
$li.addClass('highlight');
$usrfs.hide();
$idfs.hide();
@@ -47,7 +47,7 @@ $.fn.openid = function() {
var direct = function() {
var $li = $(this);
- $li.parent().find('li').removeClass('highlight');
+ $('#openid_form .providers li').removeClass('highlight');
$li.addClass('highlight');
$usrfs.fadeOut('slow');
$localfs.fadeOut('slow');
@@ -59,7 +59,7 @@ $.fn.openid = function() {
var openid = function() {
var $li = $(this);
- $li.parent().find('li').removeClass('highlight');
+ $('#openid_form .providers li').removeClass('highlight');
$li.addClass('highlight');
$usrfs.hide();
$localfs.hide();
@@ -71,7 +71,7 @@ $.fn.openid = function() {
var username = function() {
var $li = $(this);
- $li.parent().find('li').removeClass('highlight');
+ $('#openid_form .providers li').removeClass('highlight');
$li.addClass('highlight');
$idfs.hide();
$localfs.hide();