ampersand-dom
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -39,2 +39,5 @@ var dom = module.exports = { | ||
el.setAttribute(attr, ''); | ||
// Some browsers won't update UI for checkboxes unless you | ||
// set it like so: https://bugzilla.mozilla.org/show_bug.cgi?id=327020 | ||
if (attr === 'checked') el.checked = true; | ||
}, | ||
@@ -44,2 +47,3 @@ // completely removes attribute | ||
el.removeAttribute(attr); | ||
if (attr === 'checked') el.checked = false; | ||
}, | ||
@@ -46,0 +50,0 @@ // sets attribute to string value given, clearing any current value |
{ | ||
"name": "ampersand-dom", | ||
"description": "Super light-weight DOM manipulation lib.", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"author": "'Henrik Joreteg' <henrik@andyet.net>", | ||
@@ -6,0 +6,0 @@ "bugs": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
12779
260
0