Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/2.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
Yago committed Mar 9, 2018
2 parents 4589a3a + a9a3efb commit 552c420
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main.css": "static/css/main.99b383b5.css",
"main.css.map": "static/css/main.99b383b5.css.map",
"main.js": "static/js/main.4016f53e.js",
"main.js.map": "static/js/main.4016f53e.js.map"
"main.js": "static/js/main.637ae363.js",
"main.js.map": "static/js/main.637ae363.js.map"
}
2 changes: 1 addition & 1 deletion build/service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/static/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/static/js/main.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/views/Single/SinglePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ class SinglePage extends Single {
* @memberof SinglePage
*/
handlePageClick(e) {
e.preventDefault();

// If it's a link related event, redirect to page
const linkParent = parentUrl(e.target);
if (linkParent) {
e.preventDefault();
const slug = linkParent.href.split('/pages/').slice(-1)[0];
this.props.history.push(`/pages/${slug}`);
}
Expand Down

0 comments on commit 552c420

Please sign in to comment.