diff --git a/src/static/js/pad.js b/src/static/js/pad.js index 4d5df7eb1..cca2f3ebc 100644 --- a/src/static/js/pad.js +++ b/src/static/js/pad.js @@ -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)) {