Log In
Dragon Weather Castform Don't have an account yet? Register now!
.

Forum Thread

Can't Close Berry Selection-menu in Seed Maker

Forum-Index Bugs/Complaints Solved Can't Close Berry Selection-menu in Seed Maker
CatLady
OFFLINE
Trainerlevel: 99

Forum Posts: 8,298
Posted: Sat, 10/02/2018 19:00 (6 Years ago)
slides this in 'confirmed' immediately

So, 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.


Credits for avatar to ~Cookie~

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!
SwampFall
OFFLINE
Trainerlevel: 59

Forum Posts: 604
Posted: Tue, 13/02/2018 13:02 (6 Years ago)
Now the code is:

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
Riako
OFFLINE
Trainerlevel: 69

Forum Posts: 2,595
Posted: Tue, 20/02/2018 11:48 (6 Years ago)
Fixed :)