X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7749350ecd8e760ff6f7808348e750f1feaac248..1b8d2ce36b5d6098b318c5b2f75b0e2752b51ac6:/underlays/javascript/ikiwiki/openid-selector/openid-jquery.js?ds=sidebyside diff --git a/underlays/javascript/ikiwiki/openid-selector/openid-jquery.js b/underlays/javascript/ikiwiki/openid-selector/openid-jquery.js index eceaddef3..f39fff842 100644 --- a/underlays/javascript/ikiwiki/openid-selector/openid-jquery.js +++ b/underlays/javascript/ikiwiki/openid-selector/openid-jquery.js @@ -12,7 +12,7 @@ var providers_large = { }, yahoo: { name: 'Yahoo', - url: 'http://yahoo.com/' + url: 'http://me.yahoo.com/' }, aol: { name: 'AOL', @@ -170,11 +170,11 @@ var openid = { }, setOpenIdUrl: function (url) { - var hidden = document.getElementById(this.input_id); - if (hidden != null) { - hidden.value = url; + var hidden = $('#'+this.input_id); + if (hidden.length > 0) { + hidden.value = url; } else { - $('#openid_form').append(''); + $('#openid_form').append(''); } }, highlight: function (box_id) {