mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
make jshint happy ❤️
This commit is contained in:
parent
060cda7772
commit
47c4179e29
1 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ Discourse.Group = Discourse.Model.extend({
|
|||
}).then(function() {
|
||||
// reload member list
|
||||
self.findMembers();
|
||||
})
|
||||
});
|
||||
},
|
||||
|
||||
asJSON: function() {
|
||||
|
@ -79,8 +79,8 @@ Discourse.Group = Discourse.Model.extend({
|
|||
},
|
||||
|
||||
destroy: function(){
|
||||
if (!this.get('id')) { return };
|
||||
return Discourse.ajax("/admin/groups/" + this.get('id'), {type: "DELETE"});
|
||||
if (!this.get('id')) { return; }
|
||||
return Discourse.ajax("/admin/groups/" + this.get('id'), { type: "DELETE" });
|
||||
},
|
||||
|
||||
findPosts: function(opts) {
|
||||
|
|
Loading…
Reference in a new issue