aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-09-26 14:52:33 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-09-26 14:52:33 +0200
commit1426c886aeeaaeaa855f4f162485893dacc79b7e (patch)
treefa06431f7e9167226c36c93dfa52df1c4d7a4398 /lib
parentd76810e4af4b17e382d84b40cf0a56cdc1aae55d (diff)
make 402 payments work again
Diffstat (limited to 'lib')
l---------lib/taler-wallet-lib.ts1
-rw-r--r--lib/wallet/wxMessaging.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/taler-wallet-lib.ts b/lib/taler-wallet-lib.ts
new file mode 120000
index 000000000..20e599359
--- /dev/null
+++ b/lib/taler-wallet-lib.ts
@@ -0,0 +1 @@
+../web-common/taler-wallet-lib.ts \ No newline at end of file
diff --git a/lib/wallet/wxMessaging.ts b/lib/wallet/wxMessaging.ts
index 1bed80ca4..9ad2c7f6f 100644
--- a/lib/wallet/wxMessaging.ts
+++ b/lib/wallet/wxMessaging.ts
@@ -300,6 +300,7 @@ export function wxMain() {
if (uri.protocol() == "http" || uri.protocol() == "https") {
console.log("injecting into existing tab", tab.id);
chrome.tabs.executeScript(tab.id, {file: "lib/vendor/URI.js"});
+ chrome.tabs.executeScript(tab.id, {file: "lib/taler-wallet-lib.js"});
chrome.tabs.executeScript(tab.id, {file: "content_scripts/notify.js"});
}
}