I have an application that i'm slowly working to convert to jQuery & was going to use Bootstrap as well.
However when using Bootstrap 3, after clicking the drop down, the menu displays correctly. However after click off the menu or "closing" the menu. The button/link completely disappear and doesn't reappear until page refresh.
Same as this: https://github.com/twbs/bootstrap/issues/8379
The above link says to contact the google group, but I haven't seen anything requests regarding this in the group.
Any help would be greatly appreciated!
Thanks, -David
So using @GeekNum88's guidance, if you comment out these lines, the dropdown works, not sure the total effects of it yet:
function clearMenus() {
$(backdrop).remove()
$(toggle).each(function (e) {
var $parent = getParent($(this))
if (!$parent.hasClass('open')) return
// $parent.trigger(e = $.Event('hide.bs.dropdown'))
// if (e.isDefaultPrevented()) return
$parent.removeClass('open').trigger('hidden.bs.dropdown')
})
}