I checked this CODE…
$w.onReady(function() {
let current = wixSite.currentPage.name;
console.log(current)
if(wixSite.currentPage.name === "Multi-Menu"){
$w("#wixChat1").onMinimize(()=> {
wixWindow.openLightbox("MobileMenuCopy");
})
}
else { }
})
…and it is working well.
I do not have a Lighbox with the ID—> “MobileMenuCopy”
So another Lightbox will be opened…see here…(just an example page with implementation of this code)…
https://www.media-junkie.com/multi-menu
Minimize the chat and see what happens.