Hi,
We are developing our website: www.revatics.co.uk using canvas 7 theme.
We are facing issues on loading javascript on runtime.
Problem is when the page is loaded from nested URL like: domain/path/page.html the JS function which loads the plugins and modules try to load from the relative path. i.e. domain/path/js/filename.js
Actually it should be from the root path: domain/js/filename.js
Here, for us the URL is: www.revatics.co.uk/services/web-development
So, the loading of plugins gives 404 because it loads from relative path - www.revatics.co.uk/services/js/plugins-name.js like this
To unblock our-self we have modified the code in functions.js under loadJS function [screenshot attached]
I am not sure if there is any solution existed for this problem, but I think a general solution should be there, hence request to assist here.
Regards,
Sharad
