Forum Thread
Can't Close Berry Selection-menu in Seed Maker
Forum-Index → Bug Reports → Resolved → Can't Close Berry Selection-menu in Seed MakerSo, whenever you go into the Seed Maker, you see a list of all your Berries with the option to click on them and see all the levels you have and the option to see the amount of Berries you want to convert into seeds.
However, it seems impossible to close the Berry Menu, which makes it very time consuming if you want to convert several berries at the same time.
In case it's not quite clear what I mean by 'Berry Selection-Menu', here's a screenshot with the Aguav Selection-Menu opened. I can click like mad, it won't close. Clicking the image, nor the name, nor the amount has any effect.
Kitties! Riako has no idea what he unleashed with that update🙀
Collecting Lovely Larvesta and Silly Seel Plushies~
Looking for Ice Gems and Flying Gems here! Help me hunt a Shiny Articuno!
(You can win your own non-shiny Articuno in return)
Breeding events for the cause here!
function toggleBerry(b, sp) {
loadBerryBag(b, sp);
$("#berryBag .level").hide();
$("#berryBag .berry"+b+" .level").clearQueue().show();
}
So it first hides everything and then shows the selected berry, so it will never close.
To fix this Riako can change the code to:
function toggleBerry(b, sp) {
loadBerryBag(b, sp);
let display = $("#berryBag .berry"+b+" .level").css("display");
$("#berryBag .level").hide();
if (display == "none")
$("#berryBag .berry"+b+" .level").clearQueue().show();
}
Now you first look if it was already displayed or not and depending on this value you display the Selection-Menu