1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 10:05:40 +02:00

feat(dropdown): add original click event

This commit is contained in:
jakubhonisek
2018-06-25 15:29:34 +02:00
committed by Johann-S
parent bca4ceacc7
commit 49e094619b
3 changed files with 73 additions and 0 deletions

View File

@@ -344,6 +344,10 @@ const Dropdown = (($) => {
relatedTarget: toggles[i]
}
if (event && event.type === 'click') {
relatedTarget.clickEvent = event
}
if (!context) {
continue
}