aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-01-19 21:14:32 +0100
committerMario Vavti <mario@mariovavti.com>2018-01-19 21:14:32 +0100
commitd6fc85f4609852d5aa181b5eea4f3d14dc245c5a (patch)
tree34a1ab0a7a7a2d3b74b9e1b1a0148f6cc0313d1b /view
parentdb25f2024e9c1390969d48a2e074683602c96a48 (diff)
downloadvolse-hubzilla-d6fc85f4609852d5aa181b5eea4f3d14dc245c5a.tar.gz
volse-hubzilla-d6fc85f4609852d5aa181b5eea4f3d14dc245c5a.tar.bz2
volse-hubzilla-d6fc85f4609852d5aa181b5eea4f3d14dc245c5a.zip
use var instead of this
Diffstat (limited to 'view')
-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 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