You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 26, 2018. It is now read-only.
Please remove hardcoded paths. Add a JS global "directory" setting variable for paths. In this instance, use it for '/assets/'.
For example:
richText.js - fetch('/assets/images/svg-sprite/external-link.svg'
$.ajax({ url : '/assets/js/templates/' + name + '.html',
This should be in a separate file, maybe called 'settings.js' and not aggregated in.
Something like this
env.js
var themePath = '/assets';
fetch(themePath + "/images/svg-sprite/external-link.svg"
index-generated.js
andvendor-generated.js
The text was updated successfully, but these errors were encountered: