mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-03 12:10:34 +00:00
Fix gitbook.state.innerLanguage: use camel case
This commit is contained in:
@@ -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($);
|
||||
|
||||
Reference in New Issue
Block a user