aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Angell <josh@supercooldesign.co.uk>2012-02-27 12:38:44 +0000
committerJosh Angell <josh@supercooldesign.co.uk>2012-02-27 12:38:44 +0000
commitb64b10035e0298e82303cfd47b2e3d63fde41153 (patch)
tree3a01e395647fdc4f9d4cbc2038d131ee19c679de
parentf7ced767e57b249cda3e5215042534d4c47b3e2b (diff)
Temporarily exclude ie6 from having fullscreen map as the 100% height breaks it (see #238)
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index 155504010..5bf5d4dce 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -80,13 +80,16 @@ $(function(){
$('html').addClass('mobile');
} else {
- // Make map full screen on non-mobile sizes.
+ // Make map full screen on non-mobile sizes.
+ // temp: exclude ie6 as it doesn't like the height part of this
+ if(!$('html').hasClass('ie6')){
$('#map_box').prependTo('.wrapper').css({
zIndex: 0, position: 'fixed',
top: 0, left: 0, right: 0, bottom: 0,
width: '100%', height: '100%',
margin: 0
}).data('size', 'full');
+ }
}
//heightfix the desktop .content div