Merge pull request #2561 from alphagov/always-show-checked-search

Always show checked items in live search
This commit is contained in:
Chris Hill-Scott
2018-12-05 16:36:22 +00:00
committed by GitHub

View File

@@ -11,6 +11,11 @@
let content = $('.live-search-relevant', this).text() || $(this).text();
if ($(this).has(':checked').length) {
$(this).show();
return;
}
if (query == '') {
$(this).css('display', '');
return;