use val not value, broken with newer jq

pull/1919/head
John McLear 2013-10-03 00:36:15 +01:00
parent 3e1e92c100
commit d69df91709
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{