toggle tap

This commit is contained in:
Adam Bradley
2013-09-24 15:23:03 -05:00
parent abf2f76c1f
commit e81be11d35
5 changed files with 43 additions and 9 deletions

View File

@ -2,9 +2,9 @@
// add tap events to links
function onLinkTap(e) {
window.location = this.href;
return false;
this.click();
}
function addTapToLinks() {
for(var x = 0; x < document.links.length; x++) {
if(!document.links[x]._hasTap) {
@ -13,7 +13,7 @@
}
}
}
ionic.ResetTap = function() {
addTapToLinks()
};