]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Adds notice author's name to @title in Realtime response
authorSarven Capadisli <csarven@status.net>
Fri, 29 Jan 2010 15:43:37 +0000 (15:43 +0000)
committerSarven Capadisli <csarven@status.net>
Fri, 29 Jan 2010 15:43:37 +0000 (15:43 +0000)
plugins/Realtime/realtimeupdate.js

index 52151f9de8dad1dd42df0e95034b020ff98e9e32..fb9dcdbfb793bf2422a01161dfb0f69c10b9e92d 100644 (file)
@@ -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>"+