summaryrefslogtreecommitdiffstats
path: root/theme/javascript/core
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-17 11:48:04 +0200
committerSamy Pessé <samypesse@gmail.com>2014-04-17 11:48:04 +0200
commitd3aba2c9062b0ce3de4ce1b20683f55f3cdef3d2 (patch)
treefe6ccfc9b4ca430d26324cda667dd4bcdbc8234a /theme/javascript/core
parent457a83282fb8cfbcbc70f1ec8cef5879890cff4c (diff)
downloadgitbook-d3aba2c9062b0ce3de4ce1b20683f55f3cdef3d2.zip
gitbook-d3aba2c9062b0ce3de4ce1b20683f55f3cdef3d2.tar.gz
gitbook-d3aba2c9062b0ce3de4ce1b20683f55f3cdef3d2.tar.bz2
Fix state update after navigation
Diffstat (limited to 'theme/javascript/core')
-rwxr-xr-xtheme/javascript/core/navigation.js2
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();