From d6fc85f4609852d5aa181b5eea4f3d14dc245c5a Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 19 Jan 2018 21:14:32 +0100 Subject: use var instead of this --- view/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/js') diff --git a/view/js/main.js b/view/js/main.js index 5a487ebac..b8c75f74a 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 = $(this).data('contact_name').toString().toLowerCase(); + var cn = $(el).data('contact_name').toString().toLowerCase(); if(cn.indexOf(filter) === -1) $(this).addClass('d-none'); else -- cgit v1.2.3