bootstrap dropdown menu stay open 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();
});