modularload
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -149,3 +149,3 @@ 'use strict'; | ||
if (this.transition == 'false' || href.startsWith('#')) { | ||
if (this.transition == 'false') { | ||
window.location = href; | ||
@@ -155,2 +155,6 @@ return; | ||
if (href.startsWith('#')) { | ||
return; | ||
} | ||
this.setOptions(href, true); | ||
@@ -157,0 +161,0 @@ } |
@@ -147,3 +147,3 @@ function _classCallCheck(instance, Constructor) { | ||
if (this.transition == 'false' || href.startsWith('#')) { | ||
if (this.transition == 'false') { | ||
window.location = href; | ||
@@ -153,2 +153,6 @@ return; | ||
if (href.startsWith('#')) { | ||
return; | ||
} | ||
this.setOptions(href, true); | ||
@@ -155,0 +159,0 @@ } |
{ | ||
"name": "modularload", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Dead simple page transitions and lazy loading.", | ||
@@ -5,0 +5,0 @@ "repository": "modularorg/modularload", |
@@ -78,3 +78,3 @@ export default class { | ||
if (this.transition == 'false' || href.startsWith('#')) { | ||
if (this.transition == 'false') { | ||
window.location = href; | ||
@@ -84,2 +84,6 @@ return; | ||
if (href.startsWith('#')) { | ||
return; | ||
} | ||
this.setOptions(href, true); | ||
@@ -86,0 +90,0 @@ } |
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
40764
1018