perf(click): increase number to find activatable elements

Closes #9190
This commit is contained in:
Adam Bradley
2016-11-16 13:01:15 -06:00
parent c44f6b6f2e
commit c8aad56c6a

View File

@ -144,7 +144,7 @@ export class TapClick {
function getActivatableTarget(ele: HTMLElement) { function getActivatableTarget(ele: HTMLElement) {
let targetEle = ele; let targetEle = ele;
for (let x = 0; x < 4; x++) { for (let x = 0; x < 10; x++) {
if (!targetEle) break; if (!targetEle) break;
if (isActivatable(targetEle)) return targetEle; if (isActivatable(targetEle)) return targetEle;
targetEle = targetEle.parentElement; targetEle = targetEle.parentElement;