summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/js/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users.js b/settings/js/users.js
index f19b196640c..5ae157b07c6 100644
--- a/settings/js/users.js
+++ b/settings/js/users.js
@@ -425,7 +425,7 @@ $(document).ready(function () {
input.blur(function () {
var input = $(this),
displayName = input.val();
- input.parent().parent().data('displayname', displayName);
+ input.closest('tr').attr('data-displayName', displayName);
input.replaceWith('<span>' + escapeHTML(displayName) + '</span>');
img.css('display', '');
});