modify openid selector to not default to http:// for openid

ikiwiki doesn't care if the http:// is there, and it seems cleaner and less
annoying this way
master
Joey Hess 2010-05-07 20:17:31 -04:00
parent f8c2a67b3c
commit 7d152f5be5
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ var openid = {
} }
if (provider['name'] == 'OpenID') { if (provider['name'] == 'OpenID') {
id = this.input_id; id = this.input_id;
value = 'http://'; value = '';
style = 'background:#FFF url('+this.img_path+'openid-inputicon.gif) no-repeat scroll 0 50%; padding-left:18px;'; style = 'background:#FFF url('+this.img_path+'openid-inputicon.gif) no-repeat scroll 0 50%; padding-left:18px;';
} }
html += '<input id="'+id+'" type="text" style="'+style+'" name="'+id+'" value="'+value+'" />' + html += '<input id="'+id+'" type="text" style="'+style+'" name="'+id+'" value="'+value+'" />' +