how to make bootstrap dropdown stay show 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();
});