Move select JavaScript variables to top of template?


I have a basic question about good practice.

Is there any issue with moving a few JavaScript variables from different scripts in a card template to the top of the template set within new script tags for easier access? All of them have unique names. It seems to work when I try, but I’m not sure if it might cause issues later on.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.