diff options
author | zotlabs <mike@macgirvin.com> | 2018-01-21 17:09:12 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-01-21 17:09:12 -0800 |
commit | 886a1a538112936a1e813ea6fa0346683fc74398 (patch) | |
tree | 82b810f4e8521d12c1516e55e6004a792140ad23 /view/js/main.js | |
parent | a4588af0f8ef56734ad0a974838f9efeff342eff (diff) | |
parent | 1709dbd376af3171815f25b7055fb41da53924cb (diff) | |
download | volse-hubzilla-886a1a538112936a1e813ea6fa0346683fc74398.tar.gz volse-hubzilla-886a1a538112936a1e813ea6fa0346683fc74398.tar.bz2 volse-hubzilla-886a1a538112936a1e813ea6fa0346683fc74398.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/js/main.js b/view/js/main.js index 3811ddc88..034a520e7 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -893,14 +893,14 @@ function notify_popup_loader(notifyType) { if($('#tt-' + notifyType + '-only').hasClass('active')) $('#nav-' + notifyType + '-menu [data-thread_top=false]').hide(); - var filter = $('#cn-' + notifyType + '-input').val(); + var filter = $('#cn-' + notifyType + '-input').val().toString().toLowerCase(); if(filter) { $('#nav-' + notifyType + '-menu .notification').each(function(i, el){ - var cn = $(el).data('contact_name').toLowerCase(); + var cn = $(el).data('contact_name').toString().toLowerCase(); if(cn.indexOf(filter) === -1) - $(this).addClass('d-none'); + $(el).addClass('d-none'); else - $(this).removeClass('d-none'); + $(el).removeClass('d-none'); }); } }); |