web/res/js-tweetcast/live-polemic.js
changeset 507 7f7fdf4eb06c
parent 501 a5ce7d08e4f8
child 506 f7fd2458fc5c
--- a/web/res/js-tweetcast/live-polemic.js	Mon Feb 13 17:03:07 2012 +0100
+++ b/web/res/js-tweetcast/live-polemic.js	Mon Feb 13 17:04:35 2012 +0100
@@ -49,6 +49,10 @@
     max_pages = 5;
 }
 
+tracking_keywords = _(tracking_keywords).map(function(_w) {
+    return _w.toLowerCase();
+});
+
 var twCx = {
         tlPaper : null,
         followLast : true,
@@ -1041,6 +1045,8 @@
 }
 
 $(document).ready(function() {
+    twCx.tlWidth = $("#timeline").width();
+    twCx.tlHeight = $("#timeline").height();
     twCx.tlPaper = Raphael("timeline", twCx.tlWidth, twCx.tlHeight);
     
     connectTweets();