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