mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
keydown pour que ça fonctionne aussi sur mobile
This commit is contained in:
parent
e09738cd81
commit
74d198ed35
@ -289,7 +289,7 @@ loadingTask.promise.then(function(pdf) {
|
||||
bootstrap.Tab.getOrCreateInstance(document.querySelector('#modalAddSvg #nav-tab button:first-child')).show();
|
||||
})
|
||||
|
||||
document.getElementById('input-text-signature').addEventListener('keypress', function(event) {
|
||||
document.getElementById('input-text-signature').addEventListener('keydown', function(event) {
|
||||
document.getElementById('btn_modal_ajouter').removeAttribute('disabled');
|
||||
if(event.key == 'Enter') {
|
||||
document.getElementById('btn_modal_ajouter').removeAttribute('disabled');
|
||||
|
Loading…
x
Reference in New Issue
Block a user