facelift new post mentions

This commit is contained in:
jeena 2013-07-25 17:27:32 +02:00
parent 1c12e5b375
commit 096916395b
3 changed files with 12 additions and 11 deletions

View file

@ -110,11 +110,7 @@ function(HostApp, Core, APICalls, URI) {
div.appendChild(this.profile_template.following_button);
this.profile_template.mention_button.onclick = function() {
var e = _this.entity;
if (e.startsWith("https://")) {
e = e.substr(8, e.length);
}
HostApp.openNewMessageWidow(null, null, "^" + e + " ", false);
HostApp.openNewMessageWidow({entity:_this.entity});
}
div.appendChild(this.profile_template.mention_button);
this.profile_template.mention_button.innerHTML = "Mention";