Fix gitbook.state.innerLanguage: use camel case

This commit is contained in:
Samy Pessé
2015-11-25 11:01:17 +01:00
parent 43fd42b757
commit 6db7757451
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ state.update = function(dom) {
state.basePath = $book.data('basepath');
// If book is multilingual, language of this book
state.innerlanguage = $book.data('innerlanguage');
state.innerLanguage = $book.data('innerlanguage');
// Date of build
state.revision = $book.data('revision');
@@ -30,7 +30,7 @@ state.update = function(dom) {
);
// Absolute root to the language (for multilingual book)
state.bookRoot = state.innerlanguage? url.resolve(state.root, '..') : state.root;
state.bookRoot = state.innerLanguage? url.resolve(state.root, '..') : state.root;
};
state.update($);