forked from DGNum/gestioCOF
Correction annulation
Chrome ne voulait toujours pas de `keypress` sur `$(document)` -> Corrigé avec un `keydown`
This commit is contained in:
parent
a3ad34521c
commit
25dd34e402
|
@ -1039,7 +1039,7 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).on('keypress', function (e) {
|
$(document).on('keydown', function (e) {
|
||||||
if (e.keyCode == 46) {
|
if (e.keyCode == 46) {
|
||||||
// DEL (Suppr)
|
// DEL (Suppr)
|
||||||
var opes_to_cancel = [];
|
var opes_to_cancel = [];
|
||||||
|
|
Loading…
Reference in a new issue