Fixed inclusion of core JS file for sites other than root
This commit is contained in:
parent
8750dded5e
commit
09f298c5fb
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ Site.prototype.main_js_action = function() {
|
|||
res.dependsOn(String(Root.VERSION));
|
||||
res.digest();
|
||||
root.renderSkin('$Root#javascript');
|
||||
this.renderSkin('$Root#include', {href: root.getStaticUrl('../../scripts/main.min.js?v=' + Root.VERSION)});
|
||||
root.renderSkin('$Root#include', {href: root.getStaticUrl('../../scripts/main.min.js?v=' + Root.VERSION)});
|
||||
Claustra.invoke(req.path);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue