v1.18.x
Julian Lam 10 years ago
parent 1cc80cbc84
commit 6a509a51db

@ -24,8 +24,9 @@ define('forum/register', ['csrf', 'translator'], function(csrf, translator) {
}
});
// Update the "others can mention you via" text
username.on('keyup', function() {
$('#yourUsername').text(this.value.length > 0 ? this.value : 'username');
$('#yourUsername').text(this.value.length > 0 ? utils.slugify(this.value) : 'username');
});
username.on('blur', function() {

Loading…
Cancel
Save