src/pyams_skin/resources/js/ext/jquery-smartclick.min.js
changeset 566 a1707c607eec
parent 565 318533413200
child 567 bca1726b1d85
--- a/src/pyams_skin/resources/js/ext/jquery-smartclick.min.js	Sun Jul 19 02:02:20 2020 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-(function(a){a.fn.noClickDelay=function(){var d=this,b=this,c=false;d.bind("touchstart mousedown",function(f){f.preventDefault();c=false;b=a(f.target);if(b.nodeType==3){b=a(b.parent())}b.addClass("pressed");d.bind("touchmove mousemove",function(g){c=true;b.removeClass("pressed")});d.bind("touchend mouseup",function(g){d.unbind("mousemove touchmove");d.unbind("mouseup touchend");if(!c&&b.length){b.removeClass("pressed");b.trigger("click");b.focus()}})})}})(jQuery);
\ No newline at end of file