Problem with jQuery Plugin For Handling Double Tap Event

Problem with jQuery Plugin For Handling Double Tap Event

Hi,

I'm quite new in jquery and I'm building my website.
I use an action on double click to toggle between images.
In order to be able to do the same on mobile, I use the plugin : jQuery Plugin For Handling Double Tap Event, there : https://www.jqueryscript.net/mobile/jQuery-Plugin-For-Handling-Double-Tap-Event-doubleTap.html

The double tap is well detected (I've test it with some window.alert message).
But if I use the same code than in my dblclick function, it's not working. It's working like a charm on computer, detecting the dblclick and toggle y images.
But on mobile, it detect the double tap, but didn't toggle my image.

$( "#warrior"+i ).dblclick(function(){
     $(this).find('img').toggle();
  });

$("#warrior"+i).doubletap(function() {
  $(this).find('img').toggle();
});

Anyone get an ideau about it ?
Thanks all :)