diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-29 15:43:37 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-29 15:43:37 +0000 |
commit | b68a21d4f77f7d05f12bf85068c2d0d1a0ba3a36 (patch) | |
tree | 47b8a0ff17e534ea05bcc121065dce4221f0d295 | |
parent | efb39347b28e2c16fd297c61fae0606a28398dd7 (diff) |
Adds notice author's name to @title in Realtime response
-rw-r--r-- | plugins/Realtime/realtimeupdate.js | 4 |
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(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/&/g,'&'); source = data['source'].replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/&/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>"+ |