From 0838df5a998de5d3028d981a815e6e26145d9b92 Mon Sep 17 00:00:00 2001 From: Ben Reeves Date: Sat, 30 Jun 2012 19:14:57 +0100 Subject: [PATCH] Added redirect-blockchain.js for blockchain.co.uk --- redirect-blockchain.js | 3 +++ wallet.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 redirect-blockchain.js diff --git a/redirect-blockchain.js b/redirect-blockchain.js new file mode 100644 index 0000000..25b4e08 --- /dev/null +++ b/redirect-blockchain.js @@ -0,0 +1,3 @@ +function doRedirect() { + window.location = 'https://blockchain.info' + window.location.pathname + window.location.hash; +} \ No newline at end of file diff --git a/wallet.js b/wallet.js index 06e6f27..3f97bdd 100644 --- a/wallet.js +++ b/wallet.js @@ -3034,7 +3034,7 @@ function bind() { setLoadingText('Verifying SMS Code'); - $.post("/wallet", { guid: guid, payload: code, sharedKey: sharedKey, length : code.length, method : 'verify-sms' }, function(data) { + $.post("/wallet", { guid: guid, payload: code, sharedKey : sharedKey, length : code.length, method : 'verify-sms' }, function(data) { makeNotice('success', 'misc-success', data); $('#sms-unverified').hide();