Toolbar resizing fix, formatIRCMessage returning undefined fix
authorDarren <darren@darrenwhitlen.com>
Sun, 25 Sep 2011 12:37:54 +0000 (13:37 +0100)
committerDarren <darren@darrenwhitlen.com>
Sun, 25 Sep 2011 12:37:54 +0000 (13:37 +0100)
js/front.js
js/front.ui.js

index 41d7173cd8ebe36439bd9f109640a1ef7061719b..8dd44dbf007094b7114ca1d78b85e73ee9d1f928 100644 (file)
@@ -460,7 +460,7 @@ kiwi.front = {
         var re, next;
 
         if ((!msg) || (typeof msg !== 'string')) {
-            return;
+            return '';
         }
 
         // bold
index cba40c838863153548ef625d44bcaf7ac76bfd80..d5fc3514c6b966644bd2d240dea8cd04abdbf6bb 100644 (file)
@@ -13,7 +13,7 @@ kiwi.front.ui = {
             kiwi.addClass('large_kiwi');\r
         }\r
 \r
-        toolbars = $('#kiwi .cur_topic');\r
+        toolbars = $('#kiwi .toolbars');\r
         ul = $('#kiwi .userlist');\r
 \r
         n_top = parseInt(toolbars.offset().top, 10) + parseInt(toolbars.outerHeight(true), 10);\r