diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-17 11:48:04 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-17 11:48:04 +0200 |
commit | d3aba2c9062b0ce3de4ce1b20683f55f3cdef3d2 (patch) | |
tree | fe6ccfc9b4ca430d26324cda667dd4bcdbc8234a /theme/javascript/core/navigation.js | |
parent | 457a83282fb8cfbcbc70f1ec8cef5879890cff4c (diff) | |
download | gitbook-d3aba2c9062b0ce3de4ce1b20683f55f3cdef3d2.zip gitbook-d3aba2c9062b0ce3de4ce1b20683f55f3cdef3d2.tar.gz gitbook-d3aba2c9062b0ce3de4ce1b20683f55f3cdef3d2.tar.bz2 |
Fix state update after navigation
Diffstat (limited to 'theme/javascript/core/navigation.js')
-rwxr-xr-x | theme/javascript/core/navigation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/javascript/core/navigation.js b/theme/javascript/core/navigation.js index 84445b4..1b51907 100755 --- a/theme/javascript/core/navigation.js +++ b/theme/javascript/core/navigation.js @@ -48,7 +48,7 @@ define([ $('.book-summary .summary').scrollTop(scrollPosition); // Update state - state.update($page); + state.update($("html")); if (push) updateHistory(url, null); preparePage(); |