bootstrap dropdown toggle show until closed code example
Example: bootstrap dropdown toggle show until closed
// Prevents menu from closing when clicked inside
document.getElementById("Dropdown").addEventListener('click', function (event) {
alert("click outside");
event.stopPropagation();
});