Skip to content

Commit

Permalink
remove stopPropagation from button click event
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyjhol committed Jan 30, 2021
1 parent e79c8f3 commit 40a206f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/src/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ EventHandler.on(document, EVENT_CLICK_DATA_API, Dropdown.clearMenus)
EventHandler.on(document, EVENT_KEYUP_DATA_API, Dropdown.clearMenus)
EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {
event.preventDefault()
event.stopPropagation()
Dropdown.dropdownInterface(this, 'toggle')
})
EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_FORM_CHILD, e => e.stopPropagation())
Expand Down

0 comments on commit 40a206f

Please sign in to comment.