summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-10 16:04:28 -0400
committerJoey Hess <joey@kitenet.net>2010-05-10 16:04:28 -0400
commitc305303b42649bc0276ea43ef7dbb27117ba151b (patch)
tree560953e4d724e6abe211baff698a56972db674af
parenta855fa1d1846fd1c72254130e8cbcaa0f98bd200 (diff)
hide local signin when nothing is selected
-rw-r--r--underlays/openid-selector/ikiwiki/openid/openid-jquery.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
index 4eaa613d9..f22f5776a 100644
--- a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
+++ b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
@@ -116,6 +116,7 @@ var openid = {
' other' +
'</a>'
);
+ $('#'+this.localsignin_id).hide();
}
$('#openid_form').submit(this.submit);
@@ -123,7 +124,7 @@ var openid = {
var box_id = this.readCookie();
if (box_id) {
this.signin(box_id, true);
- }
+ }
},
getBoxHTML: function(provider, box_size) {
var label="";