mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 13:41:15 -07:00
Escape input on friendy_name change.
This commit is contained in:
parent
b0fa0d534e
commit
e00c23bc49
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ DOCUMENTATION :: END
|
|||
success: function(data) {
|
||||
$("#edit-user-status-message").html(data);
|
||||
if ($.trim(friendly_name) !== '') {
|
||||
$(".set-username").html(friendly_name);
|
||||
$('.set-username').html(document.createTextNode(friendly_name));
|
||||
}
|
||||
$("#user-profile-thumb").attr('src', thumb);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue