Commits

derschreckliche  committed 81ceea9

Fixed issue with double-quotes. Added floating for friends_timeline.

  • Participants
  • Parent commits bac2061

Comments (0)

Files changed (2)

File EXAMPLE.html

 		<script src="http://u0d.de/8c6bec/mootools_1.2.4.4_more.js" type="text/javascript"> </script>
 
 			<!-- We need the IdenticaWidget class -->
-		<script src="http://u0d.de/e59e92/identicawidget.js" type="text/javascript"> </script>
+		<script src="http://u0d.de/9b019f/identicawidget.js" type="text/javascript"> </script>
 
 			<!-- Here we create 2 instances of IdenticaWidget. -->
 		<script type="text/javascript">

File IdenticaWidget.js

 	                    html_to_inject = status.text.dentify(this.options.server);
 	                }
 	                if(this.options.avatar == 1) {
-	                    link = '<a href="'+this.options.server+'/'+status.user.user_name+'"><img src="'+status.user.profile_image_url
-								+'" width="'+this.options.avatar_size+'" height="'+this.options.avatar_size+' class="micro-avatar" /></a>';
+	                    link = '<a href="'+this.options.server+'/'+status.user.screen_name+'"><img src="'+status.user.profile_image_url
+								+'" width="'+this.options.avatar_size+'" height="'+this.options.avatar_size+'" class="micro-avatar" style="float:left;" /></a>';
 	                    html_to_inject = link + html_to_inject;
 	                }
 	                var li_elem = new Element('li', {
-	                    'html': html_to_inject
+	                    'html': html_to_inject,
+						'style': 'clear:left;'
 	                });
 	                li_elem.inject(ul);
 	      	 	}.bind(this));