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({
|
Discourse.PreferencesController = Discourse.ObjectController.extend({
|
||||||
allowAvatarUpload: function() {
|
allowAvatarUpload: function() {
|
||||||
return Discourse.SiteSetting.allow_uploaded_avatars;
|
return Discourse.SiteSettings.allow_uploaded_avatars;
|
||||||
}.property(),
|
}.property(),
|
||||||
|
|
||||||
// By default we haven't saved anything
|
// By default we haven't saved anything
|
||||||
|
|
Loading…
Reference in New Issue