Hello,
So, I have the jQuery mobile swipe working on tablets and phones which is good. But it also fires on the desktop with a mouse swipe. This means that a user cannot highlight text. I thoguth this was something that would only work on mobile devices.
How can I fix this?
Code:
$(document).ready(function(){
var path = getModuleDataUrl();
$.get(path, function(xmlFile)
{
$.ajax({
type: "GET",
url: path,
dataType: "text",
success: parseXml
});
});
$('#containerContainer').live("swipeleft", function(){
goToNext();
});
$('#containerContainer').live("swiperight", function(){
goToPrev();
});
});