From: Joey Hess Date: Mon, 10 May 2010 20:04:28 +0000 (-0400) Subject: hide local signin when nothing is selected X-Git-Tag: 3.20100515~33^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c305303b42649bc0276ea43ef7dbb27117ba151b;p=ikiwiki.git hide local signin when nothing is selected --- 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' + '' ); + $('#'+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="";