mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-25 06:11:20 -04:00
add parens
This commit is contained in:
parent
b369609903
commit
1e07d9a1d7
1 changed files with 2 additions and 2 deletions
|
@ -62,9 +62,9 @@ export default Discourse.ObjectController.extend(Discourse.ModalFunctionality, {
|
||||||
|
|
||||||
submitText: function(){
|
submitText: function(){
|
||||||
if (this.get('selected.is_custom_flag')) {
|
if (this.get('selected.is_custom_flag')) {
|
||||||
return "<i class="fa fa-envelope"></i>" + I18n.t(this.get('flagTopic') ? "flagging_topic.notify_action" : "flagging.notify_action");
|
return "<i class="fa fa-envelope"></i>" + (I18n.t(this.get('flagTopic') ? "flagging_topic.notify_action" : "flagging.notify_action"));
|
||||||
} else {
|
} else {
|
||||||
return "<i class="fa fa-flag"></i>" + I18n.t(this.get('flagTopic') ? "flagging_topic.action" : "flagging.action");
|
return "<i class="fa fa-flag"></i>" + (I18n.t(this.get('flagTopic') ? "flagging_topic.action" : "flagging.action"));
|
||||||
}
|
}
|
||||||
}.property('selected.is_custom_flag'),
|
}.property('selected.is_custom_flag'),
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue