JSHINT: missing comma

This commit is contained in:
Robin Ward 2013-09-05 16:05:04 -04:00
parent 2d6759d5a0
commit 38fb727c00
1 changed files with 2 additions and 2 deletions

View File

@ -465,7 +465,7 @@ Discourse.TopicController = Discourse.ObjectController.extend(Discourse.Selected
if (user.get('staff') && replyCount > 0) {
bootbox.dialog(I18n.t("post.controls.delete_replies.confirm", {count: replyCount}), [
{label: I18n.t("cancel"),
'class': 'btn-danger right'},
'class': 'btn-danger rightg'},
{label: I18n.t("post.controls.delete_replies.no_value"),
callback: function() {
post.destroy(user);
@ -481,7 +481,7 @@ Discourse.TopicController = Discourse.ObjectController.extend(Discourse.Selected
}
});
}
},
}
]);
} else {
post.destroy(user);