web/res/js-tweetcast/live-polemic.js
changeset 501 a5ce7d08e4f8
parent 491 ae626ab315b9
child 506 f7fd2458fc5c
--- a/web/res/js-tweetcast/live-polemic.js	Fri Feb 10 18:24:21 2012 +0100
+++ b/web/res/js-tweetcast/live-polemic.js	Fri Feb 10 18:28:43 2012 +0100
@@ -1045,6 +1045,8 @@
 }
 
 $(document).ready(function() {
+    twCx.tlWidth = $("#timeline").width();
+    twCx.tlHeight = $("#timeline").height();
     twCx.tlPaper = Raphael("timeline", twCx.tlWidth, twCx.tlHeight);
     
     connectTweets();