mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
JSHINT: missing comma
This commit is contained in:
parent
2d6759d5a0
commit
38fb727c00
@ -465,7 +465,7 @@ Discourse.TopicController = Discourse.ObjectController.extend(Discourse.Selected
|
|||||||
if (user.get('staff') && replyCount > 0) {
|
if (user.get('staff') && replyCount > 0) {
|
||||||
bootbox.dialog(I18n.t("post.controls.delete_replies.confirm", {count: replyCount}), [
|
bootbox.dialog(I18n.t("post.controls.delete_replies.confirm", {count: replyCount}), [
|
||||||
{label: I18n.t("cancel"),
|
{label: I18n.t("cancel"),
|
||||||
'class': 'btn-danger right'},
|
'class': 'btn-danger rightg'},
|
||||||
{label: I18n.t("post.controls.delete_replies.no_value"),
|
{label: I18n.t("post.controls.delete_replies.no_value"),
|
||||||
callback: function() {
|
callback: function() {
|
||||||
post.destroy(user);
|
post.destroy(user);
|
||||||
@ -481,7 +481,7 @@ Discourse.TopicController = Discourse.ObjectController.extend(Discourse.Selected
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
post.destroy(user);
|
post.destroy(user);
|
||||||
|
Loading…
Reference in New Issue
Block a user