Under scripts/aptify.touchevents.js
- Create a new variable for caching the target '.mynewicon' class
- E.g. var mynewicon = $('.mynewicon);
- Add following code to create the touch events for touchStart, touchEnd and touchCancel.
$( mynewicon).live("touchstart", function () { |
(Note: Whenever a new button is added which has click and touch effect, add a touch event to make it work on a mobile device).