Merge pull request #933 from SmartManoj/dropdown

Enhance dropdown
This commit is contained in:
Nick Sweeting
2025-03-25 18:01:37 -07:00
committed by GitHub

View File

@@ -530,7 +530,9 @@
// Added enhancement to capture dropdown interactive elements
if (element.classList && (
element.classList.contains("button") ||
element.classList.contains('dropdown-toggle') ||
element.getAttribute('data-index') ||
element.getAttribute('data-toggle') === 'dropdown' ||
element.getAttribute('aria-haspopup') === 'true'
)) {