From 1c4b3c186adb5dd116a4e41dcfa5f371ce5c8272 Mon Sep 17 00:00:00 2001 From: Brian Clifton Date: Tue, 11 Apr 2017 01:02:46 -0700 Subject: [PATCH] Update Ctrl+Home click or Cmd+Home click to open home page in background tab, matching Chrome behavior For more info, see discussion at https://github.com/brave/browser-laptop/issues/7718#issuecomment-292784087 Auditors: @jonathansampson --- app/renderer/components/navigation/navigationBar.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/renderer/components/navigation/navigationBar.js b/app/renderer/components/navigation/navigationBar.js index c95433c1d74..b196a8698cc 100644 --- a/app/renderer/components/navigation/navigationBar.js +++ b/app/renderer/components/navigation/navigationBar.js @@ -78,7 +78,10 @@ class NavigationBar extends ImmutableComponent { if (i === 0 && !eventUtil.isForSecondaryAction(e)) { appActions.loadURLRequested(tabId, homepage) } else { - appActions.createTabRequested({ url: homepage }) + appActions.createTabRequested({ + url: homepage, + active: false + }) } }) }