diff --git a/index.html b/index.html index a5c5fa4..11e2f49 100644 --- a/index.html +++ b/index.html @@ -312,6 +312,7 @@ + @@ -322,6 +323,7 @@ + @@ -384,6 +386,7 @@ + @@ -398,6 +401,7 @@ + @@ -776,11 +780,12 @@
@@ -1323,11 +1328,12 @@ diff --git a/js/coinbin.js b/js/coinbin.js index 393b63f..c61230d 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -1799,6 +1799,18 @@ $(document).ready(function() { $("input[type='password']",$(this).parent().parent()).attr('type','text'); }); + $(".copyKey").click(function(){ + navigator.clipboard.writeText($("input",$(this).parent().parent()).val()); + }); + + $(".copyGenerated").click(function(){ + navigator.clipboard.writeText($("#generated-transaction").val()); + }); + + $(".copySigned").click(function(){ + navigator.clipboard.writeText($("#signed-transaction").val()); + }); + $("#homeBtn").click(function(e){ e.preventDefault(); history.pushState(null, null, '#home');