From 359f5365a20a20c724ebb6601fd9c8904862b973 Mon Sep 17 00:00:00 2001 From: hellolibo Date: Fri, 12 Oct 2012 16:15:50 +0800 Subject: [PATCH] modal sometimes no height in ie7 --- src/jquery.simplemodal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery.simplemodal.js b/src/jquery.simplemodal.js index aca49eb..38a044b 100644 --- a/src/jquery.simplemodal.js +++ b/src/jquery.simplemodal.js @@ -335,7 +335,7 @@ .attr('id', s.o.containerId) .addClass('simplemodal-container') .css($.extend( - {position: s.o.fixed ? 'fixed' : 'absolute'}, + {position: s.o.fixed ? 'fixed' : 'absolute', 'height' : '0'}, s.o.containerCss, {display: 'none', zIndex: s.o.zIndex + 2} ))