I added a picture to a shipping method which opens in a lightbox (thanks to @LoicTheAztec Custom Flat Rate Description Text in Woocommerce checkout page ).
The Lightbox is working as long as I don't change the shipping class with the radio buttons. After If I choose another Woocommerce shipping class on cart page (WC loader shows up and site becomes white) the picture won't open in my lightbox. The same happens on checkout page. When the checkout page is loading the payment gateways I got the same problem, the lightbox is not working
Would be great if someone can tell me why is this happening. Why is my javascript stop working, after the Woocommerce loading happend :-/.
Thank you all in advance :).