Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "prefetch", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Customizable interaction-based link prefetching.", | ||
@@ -5,0 +5,0 @@ "main": "prefetch.js", |
@@ -166,3 +166,3 @@ /** | ||
el.addEventListener(type, function (e){ | ||
if(e.target.matches('a')){ | ||
if(e.target.matches('a') || getLinkTarget(e.target)){ | ||
switch(type){ | ||
@@ -177,4 +177,4 @@ case 'touchstart': touchstart(e); break; | ||
} | ||
return new Prefetch().init(); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9544