mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
Fix #284
This commit is contained in:
parent
8fbf999df4
commit
347c409619
1 changed files with 2 additions and 0 deletions
|
|
@ -194,6 +194,8 @@ export default class FolderNotesPlugin extends Plugin {
|
|||
|
||||
// Handle middle mouse button clicks
|
||||
this.registerDomEvent(document, 'auxclick', (evt: MouseEvent) => {
|
||||
const rightClick = 2;
|
||||
if (evt.button === rightClick) return;
|
||||
this.handleFileExplorerClick(evt);
|
||||
}, true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue