mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 05:47:02 +00:00
popovertarget is typically not camelcase in html
This commit is contained in:
1 parent
3110d2cc69
commit
13196941eb
1 file changed
+1
-1
@@ -83,7 +83,7 @@ const Dropdown = ({ groupName, className = null, icon, children, color = null, c
|
|||||||
if(!menuAction || !menuElement.contains(menuAction)) return;
|
if(!menuAction || !menuElement.contains(menuAction)) return;
|
||||||
|
|
||||||
// don't dismiss if the target triggers a submenu
|
// 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
|
// don't dismiss if the target has `no-dismiss` attribute
|
||||||
const noDismissValue = menuAction.getAttribute('no-dismiss')?.toLowerCase();
|
const noDismissValue = menuAction.getAttribute('no-dismiss')?.toLowerCase();
|
||||||
|
|||||||
Reference in new issue
Block a user