From d69df917095c49e9cc98e13e98e9af2b78cb59b7 Mon Sep 17 00:00:00 2001 From: John McLear Date: Thu, 3 Oct 2013 00:36:15 +0100 Subject: use val not value, broken with newer jq --- src/static/js/pad.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.3