Comparing version 1.0.1 to 1.0.2
@@ -7,5 +7,6 @@ 'use strict'; | ||
el.classList.add(str); | ||
} else { | ||
el.className += ' ' + str; | ||
return; | ||
} | ||
el.className += ' ' + str; | ||
} | ||
@@ -12,0 +13,0 @@ |
{ | ||
"name": "add-class", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Add a given class to elements.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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