mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
switch to doc content view when clicking on TOC entry
This commit is contained in:
parent
44970a7861
commit
8b05e7ab81
8 changed files with 16 additions and 8 deletions
|
@ -204,6 +204,7 @@ export default Controller.extend(TooltipMixin, {
|
|||
onGotoPage(id) {
|
||||
if (id !== '') {
|
||||
this.set('pageId', id);
|
||||
this.set('tab', 'content');
|
||||
|
||||
let jumpTo = "#page-" + id;
|
||||
if (!$(jumpTo).inView()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue