on my website I have a button, which opens a lightobx. When the lightobox is open, the class of the html changes and the same button changes to a close button.
Now I wanted to setup two trigger, to check if the user opens or closes the lightbox
- A trigger for open the lightbox.
- A trigger for closing the lightbox.
But only one button is firing.
If I set up just on trigger (doesen’t matter if open or close) the trigger works fine.
Only if I setup both trigger only on trigger is firing.
Does anybody have an idea what could be the problem?