aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-01-19 20:53:22 +0100
committerMario Vavti <mario@mariovavti.com>2018-01-19 20:53:22 +0100
commit395cf8660752a3cf6f3ae47f222984303c83c4a6 (patch)
tree6e68a2e1dd96710ca6deb68ef9f6164f44d0c34f /view/js/main.js
parent4fb9989b4fc955a2c0df413a617b78236afb8074 (diff)
downloadvolse-hubzilla-395cf8660752a3cf6f3ae47f222984303c83c4a6.tar.gz
volse-hubzilla-395cf8660752a3cf6f3ae47f222984303c83c4a6.tar.bz2
volse-hubzilla-395cf8660752a3cf6f3ae47f222984303c83c4a6.zip
make sure we deal with strings
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