aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-03-07 11:20:47 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-03-07 11:20:47 +0000
commit391878c3761ba11d6fe447a0d5e3547a250304ff (patch)
treee751b15cbfab5688b3d21d2feabb4e91667b907c /web/js/map-OpenLayers.js
parent3acd51c7a2a0533b2fa45c1fbf18349ce20266f7 (diff)
Put padding on inner div to stop animation jump, no important on hidden-js so that size can be calculated by JS.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r--web/js/map-OpenLayers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index b6859f486..8ee217dff 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -441,7 +441,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
document.getElementById('side-form').style.display = 'block';
}
$('#side').hide();
- heightFix('#report-a-problem-sidebar:visible', '.content', 26);
+ heightFix('#report-a-problem-sidebar', '.content', 26);
// If we clicked the map somewhere inconvenient
var sidebar = $('#report-a-problem-sidebar');