Elastic: Fix js error when accessing page jumper input with a Tab key

pull/6495/head
Aleksander Machniak 6 years ago
parent e8daccfe57
commit 288a0fa137

@ -2240,6 +2240,7 @@ function rcube_elastic_ui()
$(this).data('event', 'mouse'); $(this).data('event', 'mouse');
}) })
.on('keydown', function(e) { .on('keydown', function(e) {
if (e.originalEvent) {
switch (e.originalEvent.which) { switch (e.originalEvent.which) {
case 13: case 13:
case 32: case 32:
@ -2252,6 +2253,7 @@ function rcube_elastic_ui()
$(this).popover('hide'); $(this).popover('hide');
break; break;
} }
}
}); });
// re-add title attribute removed by bootstrap popover // re-add title attribute removed by bootstrap popover

Loading…
Cancel
Save