From 351504bd6c671d76a565737352c4916a6a6ce236 Mon Sep 17 00:00:00 2001 From: Anil Mandepudi Date: Tue, 27 Sep 2016 17:02:38 -0700 Subject: [PATCH] fix error on icon to picture change in profile --- public/src/client/account/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); }