diff --git a/apps/common/main/lib/view/Header.js b/apps/common/main/lib/view/Header.js index 133f024e0a..3b889ccb02 100644 --- a/apps/common/main/lib/view/Header.js +++ b/apps/common/main/lib/view/Header.js @@ -940,7 +940,7 @@ define([ this.options.currentUserId = id; }, - updateAvatarEl(){ + updateAvatarEl: function(){ if(this.options.userAvatar){ $btnUserName.css({'background-image': 'url('+ this.options.userAvatar +')'}); $btnUserName.text('');