The Android browser doesn't allow scrolling in a div, this is a problem for our unit test page. With this patch, we disable scrolling in our test page's divs if noscroll is set in the query string. No functional change. p=aabt (closes #3085)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11277 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2011-02-23 09:23:36 +00:00
parent b469555a79
commit abb2bb509d

View File

@@ -2410,4 +2410,10 @@ checkpoints:
</div>
</span>
<script>
if (/noscroll/.test(location.href)) {
document.getElementById('scroller').style.height='auto';
document.getElementById('right_frame').style.height='auto';
}
</script>
</body></html>