Commit 5d224ef6 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 707389 - GENERATE_TREEVIEW=YES disables touch scrolling with Android 3.x

parent c123ae9f
......@@ -77,6 +77,9 @@ function initResizable()
var _preventDefault = function(evt) { evt.preventDefault(); };
$("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault);
$(document).bind('touchmove',function(e){
var device = navigator.userAgent.toLowerCase();
var ios = device.match(/(iphone|ipod|ipad)/);
if (ios) {
try {
var target = e.target;
while (target) {
......@@ -87,6 +90,7 @@ function initResizable()
} catch(err) {
e.preventDefault();
}
}
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment