close dropdown on congratulations

This commit is contained in:
Mark Eaton 2023-07-31 11:07:57 -04:00
parent 45c2255ace
commit cdfb317ed8
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ AFRAME.registerComponent('markerhandler', {
check: function (markers) {
if (Object.is(JSON.stringify(markers), JSON.stringify({ reference: true, circulation: true, photocopier: true })) == true) {
document.getElementById("ender").style.display = "block";
document.getElementsByClassName("dropdown-menu")[0].classList.remove("show");
}
},
});