Compile js

This commit is contained in:
Samy Pessé
2015-11-25 11:52:50 +01:00
parent 93b401ca9f
commit dc9ac0d0ff
+1 -1
View File
@@ -24766,7 +24766,7 @@ state.update = function(dom) {
state.root = url.resolve(
location.protocol+'//'+location.host,
path.dirname(path.resolve(location.pathname.replace(/\/$/, '/index.html'), state.basePath))
);
).replace(/\/?$/, '/');
// Absolute root to the language (for multilingual book)
state.bookRoot = state.innerLanguage? url.resolve(state.root, '..') : state.root;