diff options
author | Jesús <heckyel@hyperbola.info> | 2020-05-02 17:47:34 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-05-02 17:47:34 -0500 |
commit | bd714013d6085bad16620b3a3fd8bccfdfa216b2 (patch) | |
tree | 35eac87d8d453550ef801b0fe31b6aa5d79e21ed | |
parent | 7b7eb3463e84992a9204d12b0fd905fd1927abec (diff) | |
download | ematrix-bd714013d6085bad16620b3a3fd8bccfdfa216b2.tar.lz ematrix-bd714013d6085bad16620b3a3fd8bccfdfa216b2.tar.xz ematrix-bd714013d6085bad16620b3a3fd8bccfdfa216b2.zip |
Use the proper argument on Tools.jsm functions
-rw-r--r-- | js/messaging.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/js/messaging.js b/js/messaging.js index 133d5ed..90c5c5f 100644 --- a/js/messaging.js +++ b/js/messaging.js @@ -69,10 +69,17 @@ }; break; case 'gotoExtensionURL': - Tools.gotoExtensionURL(request); + Tools.gotoExtensionURL({ + api: vAPI, + details: request, + matrix: ηm, + }); break; case 'gotoURL': - Tools.gotoURL(request); + Tools.gotoURL({ + api: vAPI, + details: request, + }); break; case 'mustBlock': response = ηm.mustBlock(request.scope, |