Fixed inclusion of core JS file for sites other than root

This commit is contained in:
Tobi Schäfer 2015-01-23 20:50:05 +01:00
parent 8750dded5e
commit 09f298c5fb

View file

@ -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;
}