Skip to content

Commit

Permalink
complete toc/highlightslist improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
SiriusXT committed Sep 12, 2024
1 parent 31aa6fe commit b63b603
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export default class ShowHighlightsListWidgetButton extends OnClickButtonWidget
}

async refreshWithNote(note) {
console.log(222)
this.toggleInt(this.noteContext.viewScope.highlightsListTemporarilyHidden);
}
async reEvaluateHighlightsListWidgetVisibilityEvent({ noteId }) {
Expand Down
2 changes: 0 additions & 2 deletions src/public/app/widgets/buttons/show_toc_widget_button.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ export default class ShowTocWidgetButton extends OnClickButtonWidget {
}

async refreshWithNote(note) {
console.log(213)
this.toggleInt(this.noteContext.viewScope.tocTemporarilyHidden);
}
async reEvaluateTocWidgetVisibilityEvent({ noteId }) {
console.log("noteId", noteId)
if (noteId === this.noteId) {
await this.refresh();
}
Expand Down

0 comments on commit b63b603

Please sign in to comment.