From ac8a91fe06808191b4eded829cf118d70be2c585 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 May 2010 00:40:36 -0400 Subject: improve selector layout --- .../openid-selector/ikiwiki/openid/openid-jquery.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'underlays/openid-selector') diff --git a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js index 067d68f3f..4dfb7420b 100644 --- a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js +++ b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js @@ -97,24 +97,24 @@ var openid = { openid_btns.append(this.getBoxHTML(providers_large[id], 'large')); } + if (providers_small) { + openid_btns.append('
'); + + for (id in providers_small) { + + openid_btns.append(this.getBoxHTML(providers_small[id], 'small')); + } + } if (localloginurl != "") { openid_btns.append( '' + + 'class="openid_small_btn">' + '' + ' Local Account' + '' ); } - if (providers_small) { - openid_btns.append('
'); - - for (id in providers_small) { - - openid_btns.append(this.getBoxHTML(providers_small[id], 'small')); - } - } $('#openid_form').submit(this.submit); -- cgit v1.2.3