Skip to content
This repository has been archived by the owner on Mar 19, 2018. It is now read-only.

UNMAINTAINED. Convert 'touchend' to 'click' events, for faster tap-feedback in mobile browsers

License

Notifications You must be signed in to change notification settings

cargomedia/jquery.touchToClick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

UNMAINTAINED

This project is not maintained anymore. We recommend you to have a look at FastClick instead.

Summary

Overrides the click event on mobile devices to fire a click event immediately and get rid of the 300ms delay (webkit for iPhone and Android problem).

touchToClick will fire an artificial click event when the touchend event is fired and the user hasn't moved since touchstart. The original click event of the mobile browser will be prevented so that there are not two clicks.

Usage

Just include the file in your webpage:

<script type="application/javascript" src="jquery.touchToClick.js"></script>

About

UNMAINTAINED. Convert 'touchend' to 'click' events, for faster tap-feedback in mobile browsers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published