@dotdev/limelight
Advanced tools
Comparing version 2.1.23 to 2.1.24
@@ -0,1 +1,6 @@ | ||
## [2.1.24](https://github.com/ButsAndCats/limelight/compare/2.1.23...2.1.24) (2018-10-12) | ||
## [2.1.23](https://github.com/ButsAndCats/limelight/compare/2.1.22...2.1.23) (2018-10-12) | ||
@@ -2,0 +7,0 @@ |
@@ -13,3 +13,3 @@ "use strict"; | ||
Limelight | ||
version v2.1.17 | ||
version v2.1.19 | ||
Author: George Butter | ||
@@ -43,3 +43,3 @@ https://github.com/ButsAndCats/limelight | ||
visibleClass: 'visible', | ||
bodyClass: 'active-popup', | ||
bodyClass: null, | ||
triggerClass: null, | ||
@@ -255,4 +255,7 @@ detach: null, | ||
Limelight.addClass(document.body, this.settings.bodyClass); // Define that this element is visible | ||
if (this.settings.bodyClass) { | ||
Limelight.addClass(document.body, this.settings.bodyClass); | ||
} // Define that this element is visible | ||
this.visible = true; // Focus on an input field once the modal has opened | ||
@@ -313,3 +316,7 @@ | ||
this.visible = false; | ||
Limelight.removeClass(document.body, this.settings.bodyClass); | ||
if (this.settings.bodyClass) { | ||
Limelight.removeClass(document.body, this.settings.bodyClass); | ||
} | ||
Limelight.removeClass(this.element, this.settings.visibleClass); | ||
@@ -316,0 +323,0 @@ |
/* ===================================================================================== @preserve = | ||
Limelight | ||
version v2.1.19 | ||
version v2.1.20 | ||
Author: George Butter | ||
@@ -6,0 +6,0 @@ https://github.com/ButsAndCats/limelight |
@@ -56,3 +56,3 @@ { | ||
}, | ||
"version": "2.1.23" | ||
"version": "2.1.24" | ||
} |
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
34775
742