egfqjw
Last Updated: February 25, 2016
·
3.303K
· x1024
Bf64dc75073534abf13084dbf68fde67

Fast-clickable buttons on mobile web apps

https://github.com/x1024/jquery-fastbutton

It's a small library that I made to remove the 300ms delay on click-related actions in a mobile website.

It just implements Google's Fastbutton but it does it in an unobtrusive and hopefully more useful way.

The library can be added to an existing project without changing anything(i.e. it's a free performance-booster for mobile sites)

Say Thanks
Respond

2 Responses
Add your response

1421
781f66c42983ae7ee3123bbd620d8568

Tested it in my default browser on Android 4.1.1 (Samsung Galaxy Nexus). Every click on the fast-button (or fast-link) resulted in two submissions instead of one.

over 1 year ago ·
7801
72f2b32d4c2eb35e6ae7bf6e30d14161

add event. preventDefault() to avoid two submissions

over 1 year ago ·