diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-10-13 16:17:00 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-10-13 16:17:00 +0200 |
commit | 05646996c0ef2f1a474bd547153b8ef87f89ac6e (patch) | |
tree | b76ed08d1ae1410334bb0f0c7131b1ab2d9abdfe /packages/gitbook-core/src/components/PJAXWrapper.js | |
parent | c439cf851380da27ebaa0edce5fff99f8fb93d65 (diff) | |
download | gitbook-05646996c0ef2f1a474bd547153b8ef87f89ac6e.zip gitbook-05646996c0ef2f1a474bd547153b8ef87f89ac6e.tar.gz gitbook-05646996c0ef2f1a474bd547153b8ef87f89ac6e.tar.bz2 |
Rename "navigation" to "history" and add loading bar
Diffstat (limited to 'packages/gitbook-core/src/components/PJAXWrapper.js')
-rw-r--r-- | packages/gitbook-core/src/components/PJAXWrapper.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gitbook-core/src/components/PJAXWrapper.js b/packages/gitbook-core/src/components/PJAXWrapper.js index d2eb456..6ed0697 100644 --- a/packages/gitbook-core/src/components/PJAXWrapper.js +++ b/packages/gitbook-core/src/components/PJAXWrapper.js @@ -1,6 +1,6 @@ const React = require('react'); const ReactRedux = require('react-redux'); -const Navigation = require('../actions/navigation'); +const History = require('../actions/history'); /** * Check if an element is inside a link @@ -83,7 +83,7 @@ const PJAXWrapper = React.createClass({ } event.preventDefault(); - dispatch(Navigation.push(href)); + dispatch(History.push(href)); }, componentDidMount() { |