Closed NyCodeGHG closed 3 years ago
That is probably the reason why the internal function was internal (lol).
hahaha
Is there another way how i could change the page without the use of pageChanger()? Or maybe a way to provide an onClick lambda and decide if it should change the page or not.
Why exactly can't you just use the pageChanger
element?
As you maybe have seen in the gif. I want to execute something different when you do a right click on the item. I only want to change the page when the user clicks with the left mouse button.
I did a little bit testing and the same thing is happening when using pageChanger
I fixed it. I was using a wrong function somewhere. It was not related to KSpigot.
When I switch the page via the gotoPage function and I switch back, things like buttons aren't working anymore.