From: Darren Date: Sun, 25 Sep 2011 12:37:54 +0000 (+0100) Subject: Toolbar resizing fix, formatIRCMessage returning undefined fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b91949aaa16b6121d696ed40f8e891cb063a1f10;p=KiwiIRC.git Toolbar resizing fix, formatIRCMessage returning undefined fix --- diff --git a/js/front.js b/js/front.js index 41d7173..8dd44db 100644 --- a/js/front.js +++ b/js/front.js @@ -460,7 +460,7 @@ kiwi.front = { var re, next; if ((!msg) || (typeof msg !== 'string')) { - return; + return ''; } // bold diff --git a/js/front.ui.js b/js/front.ui.js index cba40c8..d5fc351 100644 --- a/js/front.ui.js +++ b/js/front.ui.js @@ -13,7 +13,7 @@ kiwi.front.ui = { kiwi.addClass('large_kiwi'); } - toolbars = $('#kiwi .cur_topic'); + toolbars = $('#kiwi .toolbars'); ul = $('#kiwi .userlist'); n_top = parseInt(toolbars.offset().top, 10) + parseInt(toolbars.outerHeight(true), 10);