mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
parent
ca8d8e4b39
commit
46480e2262
@ -14,6 +14,8 @@
|
||||
var dropdown = $(relatedTarget.relatedTarget).siblings('.dropdown-menu'),
|
||||
dropdownContainer = $(this).data('dropdown-container')
|
||||
|
||||
// The dropdown menu should be a sibling of the triggering element (above)
|
||||
// otherwise, look for any dropdown menu within this context.
|
||||
if (dropdown.length === 0){
|
||||
dropdown = $('.dropdown-menu', this)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user