That's works fine but it's done for API4.9, not 4.21. When changing to 4.21 in the "<script> part" it runs into an error or several functions don't work well.I tried to figure out the difference for a while but didn't find any solution.
Can someone help me? Maybe someone also finds an easier or another way to realize my issue...