diff --git a/public/src/client/account/header.js b/public/src/client/account/header.js index 95bd0fb0c2..2447920d04 100644 --- a/public/src/client/account/header.js +++ b/public/src/client/account/header.js @@ -92,7 +92,7 @@ define('forum/account/header', [ $('#follow-btn').toggleClass('hide', type === 'follow'); $('#unfollow-btn').toggleClass('hide', type === 'unfollow'); - app.alertSuccess('[[global:alert.' + type + ', ' + $('.account-username').html() + ']]'); + app.alertSuccess('[[global:alert.' + type + ', ' + ajaxify.data.username + ']]'); }); return false; }