2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-02 16:04:07 +03: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
+4
View File
@@ -344,6 +344,10 @@ const Dropdown = (($) => {
relatedTarget: toggles[i]
}
if (event && event.type === 'click') {
relatedTarget.clickEvent = event
}
if (!context) {
continue
}