use the same style when constructing the tweet dynamically as well
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 16 Aug 2010 17:31:13 +0000 (13:31 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 16 Aug 2010 17:31:13 +0000 (13:31 -0400)
horde/js/twitterclient.js

index 4443e64..c727b06 100644 (file)
@@ -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})
             )