kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Allow middle mouse button to trigger navigation suppression when clicking a tiddler link
Equivalent to holding control/command while clicking.print-window-tiddler
rodzic
0200bc1b4e
commit
df6436a12c
|
@ -95,7 +95,7 @@ LinkWidget.prototype.handleClickEvent = function (event) {
|
|||
navigateFromNode: this,
|
||||
navigateFromClientRect: { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height
|
||||
},
|
||||
navigateSuppressNavigation: event.metaKey || event.ctrlKey
|
||||
navigateSuppressNavigation: event.metaKey || event.ctrlKey || (event.button === 1)
|
||||
});
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
|
Ładowanie…
Reference in New Issue