mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 17:55:59 +02:00
fix: bgColor not changing on picture modal
This commit is contained in:
@@ -62,7 +62,7 @@ define('accounts/picture', [
|
||||
});
|
||||
modal.on('change', 'input[type="radio"][name="icon:bgColor"]', (e) => {
|
||||
const value = e.target.value;
|
||||
modal.find('.user-icon').css('background-color', value);
|
||||
modal.find('[component="avatar/icon"]').css('background-color', value);
|
||||
});
|
||||
|
||||
handleImageUpload(modal);
|
||||
|
||||
Reference in New Issue
Block a user