summaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-19 22:30:16 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-19 22:30:16 -0400
commitd9ae34821ca5e0189248c015c2f30b88a8a6a7b2 (patch)
tree0e670d53f4364830468ebfa71a0d2cc6a9805cf1 /ext/fg/js
parentdbec4bffda00615fe768f66c1eb5d895aea05585 (diff)
Add support for middle clicks opening new tabs on the context buttons
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/api.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/api.js b/ext/fg/js/api.js
index 2294cb8b..b0746b85 100644
--- a/ext/fg/js/api.js
+++ b/ext/fg/js/api.js
@@ -49,8 +49,8 @@ function apiAudioGetUrl(definition, source, optionsContext) {
return utilInvoke('audioGetUrl', {definition, source, optionsContext});
}
-function apiCommandExec(command) {
- return utilInvoke('commandExec', {command});
+function apiCommandExec(command, params) {
+ return utilInvoke('commandExec', {command, params});
}
function apiScreenshotGet(options) {