mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 07:15:13 +00:00
input event is catching more situations than keyup
This commit is contained in:
parent
40a8e50471
commit
4fb9989b4f
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@
|
|||
$("#nav-{{$notification.type}}-menu .notification").removeClass('d-none');
|
||||
$('#cn-{{$notification.type}}-input-clear').addClass('d-none');
|
||||
});
|
||||
$(document).on('keyup', '#cn-{{$notification.type}}-input', function(e) {
|
||||
$(document).on('input', '#cn-{{$notification.type}}-input', function(e) {
|
||||
var val = $('#cn-{{$notification.type}}-input').val().toLowerCase();
|
||||
|
||||
if(val) {
|
||||
|
|
Loading…
Reference in a new issue