Node.js based forum software built for the modern web
use ajaxify.data.username instead of getting html
pichalited133ff74bd6b
diff --git a/public/src/client/account/header.js b/public/src/client/account/header.jsindex 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;}