* fixed outer height for ie8.

This commit is contained in:
Catouse
2014-06-10 11:44:13 +08:00
parent d7b48b0733
commit 369d48a45f
+1
View File
@@ -408,6 +408,7 @@ function setOuterBox()
{
var sideH = side.length ? (side.outerHeight() + $('#featurebar').outerHeight() + 20) : 0;
var height = Math.max(sideH, $(window).height() - $('#header').height() - $('#footer').height() - 33);
if(navigator.userAgent.indexOf("MSIE 8.0") >= 0) height -= 40;
$('#wrap .outer').css('min-height', height);
}