set username default server-side

This commit is contained in:
Jakob Kramer
2012-03-25 21:51:09 +02:00
parent 6c49799deb
commit 952b97d5a0
3 changed files with 2 additions and 8 deletions

View File

@@ -22,6 +22,4 @@ $(document).ready(function(){
window.location.pathname = $(this).attr('href') + '?username=' +
$('#username').val();
});
$('#username').val(window.location.search.match(/username=(.*)/)[1]);
});