Anki renders my card templates only once

You’re probably getting this SyntaxError:
Identifier has already been declared Error in JavaScript | bobbyhadz.

Make sure to use var instead of let and const in the global scope (outside of functions) or wrap your scripts in IIFEs.


1 Like