diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-01-19 13:32:08 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-01-19 13:32:08 +0100 |
commit | 4fb9989b4fc955a2c0df413a617b78236afb8074 (patch) | |
tree | c297d0396ad14b49d5e2bc57c79d7d3c48fd5b6f /view/tpl | |
parent | 40a8e504711f008dd88310b7f1add46f8c881fe8 (diff) | |
download | volse-hubzilla-4fb9989b4fc955a2c0df413a617b78236afb8074.tar.gz volse-hubzilla-4fb9989b4fc955a2c0df413a617b78236afb8074.tar.bz2 volse-hubzilla-4fb9989b4fc955a2c0df413a617b78236afb8074.zip |
input event is catching more situations than keyup
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/notifications_widget.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 7ce032069..c30945524 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -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) { |