diff --git a/index.html b/index.html
index 79c12f6..035a70a 100644
--- a/index.html
+++ b/index.html
@@ -563,7 +563,11 @@
+
+
+
Donate!
+
Enter the address and amount you wish to make a payment to.
diff --git a/js/coinbin.js b/js/coinbin.js
index fd84e9e..b87b02c 100644
--- a/js/coinbin.js
+++ b/js/coinbin.js
@@ -592,6 +592,29 @@ $(document).ready(function() {
totalInputAmount();
});
+ $("#donateTxBtn").click(function(){
+
+ var exists = false;
+
+ $.each($("#recipients .address"), function(i,o){
+ if($(o).val() == coinjs.developer){
+ exists = true;
+ $(o).fadeOut().fadeIn();
+ return true;
+ }
+ });
+
+ if(!exists){
+ if($("#recipients .recipient:last .address:last").val() != ""){
+ $("#recipients .addressAddTo:first").click();
+ };
+
+ $("#recipients .recipient:last .address:last").val(coinjs.developer).fadeOut().fadeIn();
+
+ return true;
+ }
+ });
+
/* code for the qr code scanner */
$(".qrcodeScanner").click(function(){
diff --git a/sha1sum b/sha1sum
index 2902854..24f8751 100644
--- a/sha1sum
+++ b/sha1sum
@@ -1,8 +1,8 @@
----- Version 1.2 2017.02.17 ----
+---- Version 1.2 2017.03.13 ----
77e4519962e2f6a9fc93342137dbb31c33b76b04 ./js/aes.js
3a09a8fc0cfe828b57fc798d668234d0490ee1a6 ./js/bootstrap-datetimepicker.min.js
253711c6d825de55a8360552573be950da180614 ./js/bootstrap.min.js
-0ee30f1dc9e38c62e99022e185706969ccfd14f1 ./js/coinbin.js
+00aaf959783209cd348a746542b3e32bcdf333e3 ./js/coinbin.js
f23a41e5bf56b98790c68502feae569459a60341 ./js/coin.js
988565bc2cb402d63ed5c5fd7ff47c4278efc2c5 ./js/collapse.js
9ba5ede3d7f9d4c8fd623395f196adfdcf7e970f ./js/crypto-min.js
@@ -30,4 +30,4 @@ de51a8494180a6db074af2dee2383f0a363c5b08 ./fonts/glyphicons-halflings-regular.s
278e49a86e634da6f2a02f3b47dd9d2a8f26210f ./fonts/glyphicons-halflings-regular.woff
44bc1850f570972267b169ae18f1cb06b611ffa2 ./fonts/glyphicons-halflings-regular.ttf
b4d3a33913a0877684909f7edf8b79bf9192b0a7 ./README.md
-3b0c0def7addfffad28a8d83f6a279ca7ceff5f7 ./index.html
+cfc16c16343e858c4dfc40ed699a933576dc3b55 ./index.html