mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Merge pull request #1919 from ether/make-username-show-properly
use val not value, broken with newer jq
This commit is contained in:
commit
6dc4240985
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ function handshake()
|
|||
{
|
||||
pad.notifyChangeName(settings.globalUserName); // Notifies the server
|
||||
pad.myUserInfo.name = settings.globalUserName;
|
||||
$('#myusernameedit').attr({"value":settings.globalUserName}); // Updates the current users UI
|
||||
$('#myusernameedit').val(settings.globalUserName); // Updates the current users UI
|
||||
}
|
||||
if (settings.globalUserColor !== false && colorutils.isCssHex(settings.globalUserColor))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue