Weirder : if, in the middle of reviewing cards of my template I had a review of another template (image occlusion in that case) then the review after that one would execute the js code correctly.
Wild : the ignored script was only the front section and not the back section. Meaning that pressing the spacebar would flip the card and then execute the back section.
Wilder : every problem went away when I turned all the “const variable_name” and “let variable_name” to “var variable_name”
So that was the workaround I used but I don’t yet know if that will cause issues down the line.
I checked the changelog to see if I saw anything relevant between 2.1.35 and 2.1.44 and didn’t find a thing so I figured it might be a regression.
Of course I tried with addons turned off and the problem remained unchanged.
Have a nice day!
edit : the issue doesn’t seem to come from a variable having the same name in the front and back section, as confirmed by putting “let test = “test”” at the top of my script, it stopped working after the first review instantly