This commit is contained in:
Stefan Breunig 2013-02-15 17:52:15 +01:00
parent dcd00b83db
commit cec4054a41

View File

@ -272,6 +272,11 @@ function boot() {
if(window.bootPlugins)
$.each(window.bootPlugins, function(ind, ref) { ref(); });
// sidebar is now at final height. Adjust scrollwrapper so scrolling
// is possible for small screens and it doesnt block the area below
// it.
$('#scrollwrapper').css('max-height', $('#sidebar').height() + 'px');
// workaround for #129. Not sure why this is required.
setTimeout('window.map.invalidateSize(false);', 500);