Skip to content

Commit

Permalink
small fix in demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
fkranenburg committed Jan 10, 2021
1 parent 78382f5 commit 0987139
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
});

// show modal once
$('#modal-enter-pin').one('shown.bs.modal', function (e) {
$('#modal-enter-pin').on('shown.bs.modal', function (e) {
$('#pincode-input8').pincodeInput({
inputs: 4,
complete: function (text) {
Expand All @@ -71,7 +71,8 @@
}
});
//autofocus
$('#pincode-input8').pincodeInput().data('plugin_pincodeInput').focus()
$('#pincode-input8').pincodeInput().data('plugin_pincodeInput').clear();
$('#pincode-input8').pincodeInput().data('plugin_pincodeInput').focus();
});
});
</script>
Expand Down

0 comments on commit 0987139

Please sign in to comment.