From cca768f93a022eece069fec92da8e4a35aed143f Mon Sep 17 00:00:00 2001 From: Catouse Date: Mon, 17 Mar 2014 15:39:40 +0800 Subject: [PATCH] * ignore table footer active event, fixed 'outer' height. --- www/js/my.full.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/my.full.js b/www/js/my.full.js index eda9ee03b3..7b81bec338 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -389,7 +389,7 @@ function setOuterBox() { var resetOuterHeight = function() { - $('#wrap .outer').css('min-height', $(window).height() - $('#header').height() - $('#header').height() - 33); + $('#wrap .outer').css('min-height', $(window).height() - $('#header').height() - $('#footer').height() - 33); } $(window).resize(resetOuterHeight); @@ -934,7 +934,7 @@ function setModal() */ function setTableBehavior() { - $('#wrap .table td').click(function(){$(this).closest('tr').toggleClass('active');}); + $('#wrap .table tbody td').click(function(){$(this).closest('tr').toggleClass('active');}); } /* Ping the server every some minutes to keep the session. */