0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-08-06 06:47:38 +00:00

popovertarget is typically not camelcase in html

This commit is contained in:
Gazook89
2026-05-28 11:43:33 -05:00
parent 3110d2cc69
commit 13196941eb
+1 -1
View File
@@ -83,7 +83,7 @@ const Dropdown = ({ groupName, className = null, icon, children, color = null, c
if(!menuAction || !menuElement.contains(menuAction)) return;
// don't dismiss if the target triggers a submenu
if(menuAction.hasAttribute('popoverTarget')) return;
if(menuAction.hasAttribute('popovertarget')) return;
// don't dismiss if the target has `no-dismiss` attribute
const noDismissValue = menuAction.getAttribute('no-dismiss')?.toLowerCase();