removed debug stuff

This commit is contained in:
Jeena Paradies 2012-11-03 12:57:34 +01:00
parent d938b83a85
commit 09373b5987

View file

@ -115,7 +115,7 @@ Core.prototype.getItem = function(status) {
template.source.href = status.app.url; template.source.href = status.app.url;
template.source.innerHTML = status.app.name; template.source.innerHTML = status.app.name;
template.source.title = status.id; template.source.title = status.app.url;
return template.item; return template.item;
} }
@ -224,7 +224,6 @@ Core.prototype.getTemplate = function() {
} }
Core.prototype.getNewData = function() { Core.prototype.getNewData = function() {
if (this.action == "mentions") return;
var those = this; var those = this;
var url = URI(mkApiRootPath("/posts")); var url = URI(mkApiRootPath("/posts"));
@ -404,7 +403,7 @@ function findMentions(node, mentions) {
if(basic.name) { if(basic.name) {
var new_text = node.innerHTML.replace( var new_text = node.innerHTML.replace(
mention.text, mention.text,
"<strong class='name' title='" + mention.entity + "'" + ">" "<strong class='name' title='" + mention.entity + "'" + ">^"
+ basic.name + basic.name
+ "</strong>" + "</strong>"
); );