Skip to content

Commit

Permalink
Merge pull request #874 from BookStackApp/fix/gototext
Browse files Browse the repository at this point in the history
Fixes undefined error when clicking on link under page navigation.
  • Loading branch information
ssddanbrown authored Jul 1, 2018
2 parents 448068e + 0363fc4 commit 45aee2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/assets/js/components/page-display.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class PageDisplay {

// Sidebar page nav click event
$('.sidebar-page-nav').on('click', 'a', event => {
goToText(event.target.getAttribute('href').substr(1));
this.goToText(event.target.getAttribute('href').substr(1));
});
}

Expand Down

0 comments on commit 45aee2a

Please sign in to comment.