I have a table where I drag and drop rows (drag and drop). In order to drag and drop, and also scroll the page (without dragging and dropping), I apply Jquery Touch.
The problem is when I do tap
or doubletap
in the table shows me an error in the console.
This is the error
jquery.js:4737 Uncaught TypeError: ((jQuery.event.special[handleObj.origType] || {}).handle || handleObj.handler).apply is not a function
at HTMLTableElement.dispatch (jquery.js:4737)
at triggerCustomEvent (jquery.mobile-events.js:846)
at HTMLTableElement.tapFunc2 (jquery.mobile-events.js:498)
at HTMLTableElement.dispatch (jquery.js:4737)
at HTMLTableElement.elemData.handle (jquery.js:4549)
And this is the function
$('.touchtable').tap('tap', function(e) {
console.log('hola2');
});
The information that I have looked at is the following:
Any way to correct the error?