summaryrefslogtreecommitdiff
path: root/src/static/js/pad.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/pad.js')
-rw-r--r--src/static/js/pad.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/pad.js b/src/static/js/pad.js
index 4d5df7eb..cca2f3eb 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))
{