Click of li with class arrow may trigger second unwanted click of another element when using jQTouch

Jump to: navigation, search

If you click on an li that has class arrow jQTouch will transition to the appropriate screen. However, if the the destination screen has an element in the same vertical position of the li that was previously clicked, then jQTouch may trigger an additional click of that element. Although it will not work for all circumstances, bind the 'tap' event instead of the 'click' event to on the element that is getting the unwanted click. e.g. $('#myElement').bind('tap', callback());

See also

Personal tools