Skip to content

Commit

Permalink
Fix fwd/back menu handling for Obsidian 1.7 DOM
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeby committed Aug 9, 2024
1 parent b3c61c9 commit 0258c5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "pane-relief",
"name": "Pane Relief",
"version": "0.5.3",
"version": "0.5.4",
"minAppVersion": "1.5.8",
"description": "Per-tab history, hotkeys for pane/tab movement, navigation, sliding workspace, and more",
"author": "PJ Eby",
Expand Down
1 change: 1 addition & 0 deletions src/Navigator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ export class Navigator extends Component {
this.owner.win.document.body,
"contextmenu",
`.view-header > .view-actions > .view-action[class*="app:go-${this.kind}"],
.view-header-left > .view-header-nav-buttons > button:${this.dir < 0 ? "first" : "last"}-child,
.view-header > .view-header-nav-buttons > button:${this.dir < 0 ? "first" : "last"}-child`,
(evt, target) => {
const el = target.matchParent(".workspace-leaf");
Expand Down
1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"0.5.4": "1.5.8",
"0.5.3": "1.5.8",
"0.5.2": "1.3.5",
"0.5.1": "1.2.8",
Expand Down

0 comments on commit 0258c5e

Please sign in to comment.