Skip to content

Commit

Permalink
clear signature pad while reset
Browse files Browse the repository at this point in the history
  • Loading branch information
syt123450 committed Dec 7, 2018
1 parent 07abfe7 commit dbc9a58
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions js/lenet.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ $(function() {

});

$("#resetTrigger").click(function() {

signaturePad.clear();
clearResult();

});

signaturePad = new SignaturePad( document.getElementById( 'signature-pad' ), {

minWidth: 10,
Expand Down

0 comments on commit dbc9a58

Please sign in to comment.