From 47c4179e291b3d45c36e3c01b8b78aac4556f4f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 5 Jan 2015 18:58:36 +0100 Subject: [PATCH] make jshint happy :heart: --- app/assets/javascripts/discourse/models/group.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/models/group.js b/app/assets/javascripts/discourse/models/group.js index 94930b291e3..b3fc5798b98 100644 --- a/app/assets/javascripts/discourse/models/group.js +++ b/app/assets/javascripts/discourse/models/group.js @@ -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) {