added missing semicolons to javascript code

This commit is contained in:
Miguel Grinberg 2013-02-24 21:24:50 -08:00
parent 4081db19e1
commit c99c1d52b5
1 changed files with 4 additions and 4 deletions

View File

@ -5,14 +5,14 @@
<script type="text/javascript">
function set_openid(openid, pr)
{
u = openid.search('<username>')
u = openid.search('<username>');
if (u != -1) {
// openid requires username
user = prompt('Enter your ' + pr + ' username:')
openid = openid.substr(0, u) + user
user = prompt('Enter your ' + pr + ' username:');
openid = openid.substr(0, u) + user;
}
form = document.forms['login'];
form.elements['openid'].value = openid
form.elements['openid'].value = openid;
}
</script>
{% include 'flash.html' %}