mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 17:05:16 -04:00
Removes invisible whitespace characters from username in chat
This commit is contained in:
parent
092cbc12ce
commit
2a68b5bce1
2 changed files with 8 additions and 5 deletions
|
@ -9,7 +9,7 @@ $(function () {
|
|||
);
|
||||
|
||||
// Store current username received from app context
|
||||
var current_username = $('#username').val();
|
||||
var current_username = $('#username').val().trim();
|
||||
|
||||
// Triggered on any status change by any user, such as some
|
||||
// user joined, or changed username, or left, etc.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue