diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-12 18:10:27 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-12 18:10:27 +0100 |
commit | f5626ef322709e11899be4ff136ff2a2cf7f37ed (patch) | |
tree | fcef69eef4568a407bad9690a83c539041c50776 /extension/content_scripts/notify.js | |
parent | ffe6dee6aa50c864cc9a36e816eb95f2f23719b1 (diff) |
Change signaling.
The same signaling is now used for merchant and bank.
Diffstat (limited to 'extension/content_scripts/notify.js')
-rw-r--r-- | extension/content_scripts/notify.js | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/extension/content_scripts/notify.js b/extension/content_scripts/notify.js index 5c6c02535..d08a377b5 100644 --- a/extension/content_scripts/notify.js +++ b/extension/content_scripts/notify.js @@ -17,20 +17,10 @@ // query the availability of Taler. /// <reference path="../lib/decl/chrome/chrome.d.ts" /> "use strict"; -document.addEventListener("taler-checkout-probe", function (e) { +document.addEventListener("taler-probe", function (e) { var evt = new Event("taler-wallet-present"); document.dispatchEvent(evt); - console.log("merchant handshake done"); -}); -document.addEventListener("taler-wire-probe", function (e) { - var evt = new Event("taler-wallet-present"); - document.dispatchEvent(evt); - console.log("bank handshake done"); -}); -document.addEventListener("taler-checkout-probe", function (e) { - var evt = new Event("taler-wallet-present"); - document.dispatchEvent(evt); - console.log("merchant handshake done"); + console.log("handshake done"); }); document.addEventListener("taler-create-reserve", function (e) { var $ = function (x) { return document.getElementById(x); }; |