You may find this page useful...rather than trying to add JS to a Moodle theme.
https://docs.moodle.org/dev/Javascript_Modules
Cheers
Mary
You may find this page useful...rather than trying to add JS to a Moodle theme.
https://docs.moodle.org/dev/Javascript_Modules
Cheers
Mary