@github/details-menu-element
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -152,5 +152,5 @@ class DetailsMenuElement extends HTMLElement { | ||
return; | ||
if (menuitem.tagName === 'LABEL' && target !== menuitem) | ||
const input = menuitem.querySelector('input'); | ||
if (menuitem.tagName === 'LABEL' && target === input) | ||
return; | ||
const input = menuitem.querySelector('input'); | ||
const onlyCommitOnChangeEvent = menuitem.tagName === 'LABEL' && input && !input.checked; | ||
@@ -157,0 +157,0 @@ if (!onlyCommitOnChangeEvent) { |
{ | ||
"name": "@github/details-menu-element", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "A menu opened with a <details> button.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
17376