mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 03:21:18 +01:00
fixes #2992
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user