summaryrefslogtreecommitdiff
path: root/ext/bg/js/context.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-02-09 21:06:59 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2020-02-09 21:51:33 +0200
commit9fbd47e4eaeee2f1121cdeae08dbc5439b247498 (patch)
tree88a344c19ceb84a69717fb1d9510fc9fe3c32405 /ext/bg/js/context.js
parent722a2a4bce08ae2e69d7abb1c5d09842bd29ebfa (diff)
rename sameTab --> existingOrNewTab
Diffstat (limited to 'ext/bg/js/context.js')
-rw-r--r--ext/bg/js/context.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/context.js b/ext/bg/js/context.js
index a0e5adc9..37adb6b7 100644
--- a/ext/bg/js/context.js
+++ b/ext/bg/js/context.js
@@ -30,7 +30,7 @@ function setupButtonEvents(selector, command, url) {
for (const node of nodes) {
node.addEventListener('click', (e) => {
if (e.button !== 0) { return; }
- apiCommandExec(command, {mode: e.ctrlKey ? 'newTab' : 'sameTab'});
+ apiCommandExec(command, {mode: e.ctrlKey ? 'newTab' : 'existingOrNewTab'});
e.preventDefault();
}, false);
node.addEventListener('auxclick', (e) => {