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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user