Disappearing region buttons

In the foreign wikis, there will be many regions where there are no articles. For example, there are no articles in German for the Australia/Oceanic region in the German Wiki. Accordingly, I will be removing all links that have no pages to land on. So the menu will be blank when you click on the Australia/Oceanic regional button. So rather than have a button that brings up a blank menu, could we have it so it does that button does not appear at all if there are no links for a region on the MapMenu.js?

Never mind I have figured it out. Will show my solution in next meeting