aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 3811ddc88..5a487ebac 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -896,7 +896,7 @@ function notify_popup_loader(notifyType) {
var filter = $('#cn-' + notifyType + '-input').val();
if(filter) {
$('#nav-' + notifyType + '-menu .notification').each(function(i, el){
- var cn = $(el).data('contact_name').toLowerCase();
+ var cn = $(this).data('contact_name').toString().toLowerCase();
if(cn.indexOf(filter) === -1)
$(this).addClass('d-none');
else