diff options
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); }; |