diff options
Diffstat (limited to 'theme/javascript/app.js')
-rwxr-xr-x | theme/javascript/app.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/theme/javascript/app.js b/theme/javascript/app.js index 38a9572..3829a42 100755 --- a/theme/javascript/app.js +++ b/theme/javascript/app.js @@ -12,7 +12,8 @@ require([ "core/search" ], function($, storage, analytic, sharing, state, keyboard, navigation, progress, sidebar, search){ $(document).ready(function() { - var $book = state.$book; + var $book; + $book = state.$book; if (state.githubId) { // Initialize storage @@ -30,8 +31,8 @@ require([ // Bind sharing button sharing.init(); - + // Init navigation navigation.init(); }); -});
\ No newline at end of file +}); |