diff options
-rw-r--r-- | underlays/openid-selector/ikiwiki/openid/openid-jquery.js | 3 |
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 4dfb7420b..59a59c084 100644 --- a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js +++ b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js @@ -150,15 +150,16 @@ var openid = { } this.highlight(box_id); - this.setCookie(box_id); this.provider_id = box_id; this.provider_url = provider['url']; // prompt user for input? if (provider['label']) { + this.setCookie(box_id); this.useInputBox(provider); } else { + this.setCookie(''); $('#openid_input_area').empty(); if (! onload) { $('#openid_form').submit(); |