From df6436a12cb285d0d019c7506fb1c1555fe49197 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 3 Mar 2014 09:09:13 +0000 Subject: [PATCH] Allow middle mouse button to trigger navigation suppression when clicking a tiddler link Equivalent to holding control/command while clicking. --- core/modules/widgets/link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/widgets/link.js b/core/modules/widgets/link.js index 7d2fa74d2..03f462e7b 100755 --- a/core/modules/widgets/link.js +++ b/core/modules/widgets/link.js @@ -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();