diff --git a/cloudcmd.js b/cloudcmd.js
index e0a36212..596e188a 100644
--- a/cloudcmd.js
+++ b/cloudcmd.js
@@ -49,16 +49,16 @@
lReplace_s = '';
- lData = Util.removeStr(lData, lReplace_s);
- lData = lData.replace('/css/style.css', lPath + 'all.min.css');
+ lData = Util.removeStr(lData, lReplace_s)
+ .replace('/css/style.css', lPath + 'all.min.css');
}
lReplace_s = '
';
- lData = lData.replace(lReplace_s, lReplace_s + lAdditional);
/* меняем title */
- lData = lData.replace('
Cloud Commander',
- '' + CloudFunc.getTitle() + '');
+ lData = lData.replace(lReplace_s, lReplace_s + lAdditional)
+ .replace('Cloud Commander',
+ '' + CloudFunc.getTitle() + '');
if(!srv.Config.appcache)
lData = Util.removeStr(lData, ' manifest="/cloudcmd.appcache"');
diff --git a/config.json b/config.json
index f21f6665..3c8d7ff1 100644
--- a/config.json
+++ b/config.json
@@ -3,7 +3,7 @@
"appcache" : false,
"cache" : {"allowed" : false},
"minification" : {
- "js" : false,
+ "js" : true,
"css" : true,
"html" : true,
"img" : true