* ignore table footer active event, fixed 'outer' height.

This commit is contained in:
Catouse
2014-03-17 15:39:40 +08:00
parent 9b104801b3
commit cca768f93a
+2 -2
View File
@@ -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. */