Skip to content

Node.js based forum software built for the modern web

fix error on icon to picture change in profile

Anil Mandepudi351504bd6c67
diff --git a/public/src/client/account/edit.js b/public/src/client/account/edit.js
index 6cbea282d0..51632481cb 100644
--- a/public/src/client/account/edit.js
+++ b/public/src/client/account/edit.js
@@ -140,7 +140,7 @@ define('forum/account/edit', ['forum/account/header', 'uploader', 'translator',
return app.alertError(err.message);
}
- updateHeader(type === 'default' ? '' : src);
+ updateHeader(type === 'default' ? '' : modal.find('.list-group-item.active img').attr('src'));
ajaxify.refresh();
});
}