aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-01-19 13:32:08 +0100
committerMario Vavti <mario@mariovavti.com>2018-01-19 13:32:08 +0100
commit4fb9989b4fc955a2c0df413a617b78236afb8074 (patch)
treec297d0396ad14b49d5e2bc57c79d7d3c48fd5b6f /view/tpl
parent40a8e504711f008dd88310b7f1add46f8c881fe8 (diff)
downloadvolse-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.tpl2
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) {