Skip to content

Commit

Permalink
trim inputs during signing
Browse files Browse the repository at this point in the history
  • Loading branch information
backpacker69 committed Mar 29, 2024
1 parent 9fbdd43 commit 88fd63d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions js/cointoolkit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2370,6 +2370,14 @@ $(document).ready(function() {
$(this).val($(this).val().replace(/\s/g, ""));
});

$("#signPrivateKey").focusout(function(){
$(this).val($(this).val().replace(/\s/g, ""));
});

$("#signTransaction").focusout(function(){
$(this).val($(this).val().replace(/\s/g, ""));
});

/* redeem from button code */
$("#redeemFromBtn").click(function(){
var redeem = redeemingFrom($("#redeemFrom").val());
Expand Down

0 comments on commit 88fd63d

Please sign in to comment.