]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
86f43c8
)
Fixes undefined error when clicking on page navigation links.
874/head
author
Abijeet
<redacted>
Sun, 3 Jun 2018 08:54:55 +0000
(14:24 +0530)
committer
Abijeet
<redacted>
Sun, 3 Jun 2018 08:54:55 +0000
(14:24 +0530)
Fixes #873
Signed-off-by: Abijeet <redacted>
resources/assets/js/components/page-display.js
patch
|
blob
|
history
diff --git
a/resources/assets/js/components/page-display.js
b/resources/assets/js/components/page-display.js
index f51cb7f34e43ffc594e846381fc6989d3fe1356a..5eb5648cd809342ae6bfab9faa4e763bf3ca7e10 100644
(file)
--- a/
resources/assets/js/components/page-display.js
+++ b/
resources/assets/js/components/page-display.js
@@
-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));
});
}
hide
Morty Proxy
This is a
proxified and sanitized
view of the page, visit
original site
.