summaryrefslogtreecommitdiff
path: root/plugins/Realtime
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-29 15:43:37 +0000
committerSarven Capadisli <csarven@status.net>2010-01-29 15:44:59 +0000
commitedf99dc45bcb28f60ea260e2a2a1bad148971a97 (patch)
tree665a8b9eb579a1b1b7c66069094fecda29a07db3 /plugins/Realtime
parentacd0c0732a0f328548e744bdb05bf11acf9d87e0 (diff)
Adds notice author's name to @title in Realtime response
Diffstat (limited to 'plugins/Realtime')
-rw-r--r--plugins/Realtime/realtimeupdate.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js
index 52151f9de..fb9dcdbfb 100644
--- a/plugins/Realtime/realtimeupdate.js
+++ b/plugins/Realtime/realtimeupdate.js
@@ -132,11 +132,11 @@ RealtimeUpdate = {
user = data['user'];
html = data['html'].replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/&quot;/g,'"').replace(/&amp;/g,'&');
source = data['source'].replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/&quot;/g,'"').replace(/&amp;/g,'&');
-
+console.log(data);
ni = "<li class=\"hentry notice\" id=\"notice-"+unique+"\">"+
"<div class=\"entry-title\">"+
"<span class=\"vcard author\">"+
- "<a href=\""+user['profile_url']+"\" class=\"url\">"+
+ "<a href=\""+user['profile_url']+"\" class=\"url\" title=\""+user['name']+"\">"+
"<img src=\""+user['profile_image_url']+"\" class=\"avatar photo\" width=\"48\" height=\"48\" alt=\""+user['screen_name']+"\"/>"+
"<span class=\"nickname fn\">"+user['screen_name']+"</span>"+
"</a>"+