aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/barnet/position_map.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/cobrands/barnet/position_map.js')
-rw-r--r--web/cobrands/barnet/position_map.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/cobrands/barnet/position_map.js b/web/cobrands/barnet/position_map.js
index 95e6717ee..3a8d8c078 100644
--- a/web/cobrands/barnet/position_map.js
+++ b/web/cobrands/barnet/position_map.js
@@ -2,13 +2,13 @@ function position_map_box() {
var map_pos = 'absolute', map_height = '100%';
if ($('html').hasClass('ie6')) {
map_pos = 'absolute';
- map_height = $(window).height();
+ map_height = $('.wrapper').height();
}
$('#map_box').prependTo('.wrapper').css({
zIndex: 0, position: map_pos,
top: $('.wrapper').top, left: $('.wrapper').left,
right: $('.wrapper').right, bottom: $('.wrapper').bottom,
- width: '100%', height: map_height,
+ width: '900px', height: map_height,
margin: 0
});
}