From: Michael J. Rubinsky Date: Mon, 16 Aug 2010 17:31:13 +0000 (-0400) Subject: use the same style when constructing the tweet dynamically as well X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1308c41d4c8631bc0e86fca85a1cdc3c9ea99657;p=horde.git use the same style when constructing the tweet dynamically as well --- diff --git a/horde/js/twitterclient.js b/horde/js/twitterclient.js index 4443e6498..c727b060b 100644 --- a/horde/js/twitterclient.js +++ b/horde/js/twitterclient.js @@ -217,8 +217,8 @@ var Horde_Twitter = Class.create({ * Build adnd display the node for a new tweet. */ buildNewTweet: function(response) { - var tweet = new Element('div', {'class':'fbstreamstory'}); - var tPic = new Element('div', {'style':'float:left'}).update( + var tweet = new Element('div', {'class':'hordeSmStreamstory'}); + var tPic = new Element('div', {'class':'hordeSmAvatar'}).update( new Element('a', {'href': 'http://twitter.com/' + response.user.screen_name}).update( new Element('img', {'src':response.user.profile_image_url}) )