Skip to content

Node.js based forum software built for the modern web

fixed missing var in user profile

Julian Lam454c05c391dc
diff --git a/public/src/forum/account/header.js b/public/src/forum/account/header.js
index 1054eefd86..afda7961d0 100644
--- a/public/src/forum/account/header.js
+++ b/public/src/forum/account/header.js
@@ -18,7 +18,7 @@ define('forum/account/header', function() {
$('#editLink, #settingsLink, #favouritesLink').removeClass('hide');
} else {
$('.account-sub-links .plugin-link').each(function() {
- $this = $(this);
+ var $this = $(this);
$this.toggleClass('hide', $this.hasClass('private'));
});
}