mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 12:13:37 +08:00
FIX: actually show the upload avatar modal when allow_uploaded_avatars is true
This commit is contained in:
parent
7bb23c8ce8
commit
e103176400
|
@ -8,7 +8,7 @@
|
|||
**/
|
||||
Discourse.PreferencesController = Discourse.ObjectController.extend({
|
||||
allowAvatarUpload: function() {
|
||||
return Discourse.SiteSetting.allow_uploaded_avatars;
|
||||
return Discourse.SiteSettings.allow_uploaded_avatars;
|
||||
}.property(),
|
||||
|
||||
// By default we haven't saved anything
|
||||
|
|
Loading…
Reference in New Issue
Block a user