Swap aspect chat privilege title
This commit is contained in:
parent
2712b413c3
commit
e40cf25177
1 changed files with 2 additions and 2 deletions
|
|
@ -27,13 +27,13 @@ app.views.Contacts = Backbone.View.extend({
|
||||||
this.chat_toggle.tooltip("destroy")
|
this.chat_toggle.tooltip("destroy")
|
||||||
.removeClass("enabled")
|
.removeClass("enabled")
|
||||||
.removeAttr("data-original-title")
|
.removeAttr("data-original-title")
|
||||||
.attr("title", Diaspora.I18n.t("contacts.aspect_chat_is_enabled"))
|
.attr("title", Diaspora.I18n.t("contacts.aspect_chat_is_not_enabled"))
|
||||||
.tooltip({'placement': 'bottom'});
|
.tooltip({'placement': 'bottom'});
|
||||||
} else {
|
} else {
|
||||||
this.chat_toggle.tooltip("destroy")
|
this.chat_toggle.tooltip("destroy")
|
||||||
.addClass("enabled")
|
.addClass("enabled")
|
||||||
.removeAttr("data-original-title")
|
.removeAttr("data-original-title")
|
||||||
.attr("title", Diaspora.I18n.t("contacts.aspect_chat_is_not_enabled"))
|
.attr("title", Diaspora.I18n.t("contacts.aspect_chat_is_enabled"))
|
||||||
.tooltip({'placement': 'bottom'});
|
.tooltip({'placement': 'bottom'});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue