more work for #179.

Due to changed display of the portal image it now doesn’t flicker anymore,
which simplifies code a lot.
This commit is contained in:
Stefan Breunig
2013-02-16 10:02:18 +01:00
parent 43d9251c57
commit 2023e33567
5 changed files with 120 additions and 124 deletions

View File

@ -274,7 +274,7 @@ function boot() {
// 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').get(0).scrollHeight + 'px');
$('#scrollwrapper').css('max-height', ($('#sidebar').get(0).scrollHeight+3) + 'px');
// workaround for #129. Not sure why this is required.
setTimeout('window.map.invalidateSize(false);', 500);