Why does RegisterModuleInit only take when the file is stored in the Style Library? I'm using MDS and my JSLink file only works the first time unless it is stored there.
I've tried putting it in:
- /_layouts/15/jslinktest.js
- /_layouts/15/testfolder/jslinktest.js
- /SiteAssets/jslinktest.js
- /SiteAssets/subfolder/jslinktest.js
- /_catalogs/subfolder/jslinktest.js
With updated RegisterModuleInit references accordingly and the only place it actually works is in Style Library. What am I missing?