MCPcopy
hub / github.com/mongodb/node-mongodb-native / clearMenus

Function clearMenus

docs/3.4/lib/bootstrap.js:764–773  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

762 }
763
764 function clearMenus() {
765 $(backdrop).remove()
766 $(toggle).each(function (e) {
767 var $parent = getParent($(this))
768 if (!$parent.hasClass('open')) return
769 $parent.trigger(e = $.Event('hide.bs.dropdown'))
770 if (e.isDefaultPrevented()) return
771 $parent.removeClass('open').trigger('hidden.bs.dropdown')
772 })
773 }
774
775 function getParent($this) {
776 var selector = $this.attr('data-target')

Callers 1

bootstrap.jsFile · 0.70

Calls 5

removeMethod · 0.80
getParentFunction · 0.70
$Function · 0.50
triggerMethod · 0.45
removeClassMethod · 0.45

Tested by

no test coverage detected