modularload
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -111,3 +111,2 @@ 'use strict'; | ||
if (!e.ctrlKey && !e.metaKey) { | ||
e.preventDefault(); | ||
var target = e.target; | ||
@@ -117,2 +116,3 @@ | ||
if (target.matches('a')) { | ||
e.preventDefault(); | ||
this.reset(); | ||
@@ -119,0 +119,0 @@ this.getClickOptions(target); |
@@ -109,3 +109,2 @@ function _classCallCheck(instance, Constructor) { | ||
if (!e.ctrlKey && !e.metaKey) { | ||
e.preventDefault(); | ||
var target = e.target; | ||
@@ -115,2 +114,3 @@ | ||
if (target.matches('a')) { | ||
e.preventDefault(); | ||
this.reset(); | ||
@@ -117,0 +117,0 @@ this.getClickOptions(target); |
{ | ||
"name": "modularload", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Dead simple page transitions and lazy loading.", | ||
@@ -5,0 +5,0 @@ "repository": "modularorg/modularload", |
@@ -42,4 +42,2 @@ export default class { | ||
if (!e.ctrlKey && !e.metaKey) { | ||
e.preventDefault(); | ||
let target = e.target; | ||
@@ -49,2 +47,4 @@ | ||
if (target.matches('a')) { | ||
e.preventDefault(); | ||
this.reset(); | ||
@@ -51,0 +51,0 @@ this.getClickOptions(target); |
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
40651