close dropdown on congratulations
This commit is contained in:
parent
45c2255ace
commit
cdfb317ed8
|
@ -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");
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue