UNPKG

prevent-ghost-click

Version:
5 lines (3 loc) 442 B
# prevent-ghost-click.js Prevent click events after a touchend. Originally from Jorik Tangelder's gist ([https://gist.github.com/jtangelder/361052976f044200ea17](https://gist.github.com/jtangelder/361052976f044200ea17)), which claimed "inspired/copy-paste from this article of Google by Ryan Fioravanti: [https://developers.google.com/mobile/articles/fast_buttons#ghost] (https://developers.google.com/mobile/articles/fast_buttons#ghost)."