Skip to content

Commit 5727a82

Browse files
authored
Fixes hiding the "no results" message in the features list. (OrchardCMS#17415)
1 parent 5290c72 commit 5727a82

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/OrchardCore.Modules/OrchardCore.Features/Views/Admin/Features.cshtml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,14 @@
208208
$(this).find('li').filter(":not(.d-none)").first().addClass("first-child-visible");
209209
$(this).find('li').filter(":not(.d-none)").last().addClass("last-child-visible");
210210
});
211+
}
211212
212-
var visible = $('.list-group > li:visible');
213-
if (visible.length == 0) {
214-
$('#list-alert').removeClass("d-none");
215-
}
216-
else {
217-
$('#list-alert').addClass("d-none");
218-
}
213+
var visible = $('.list-group > li:visible');
214+
if (visible.length == 0) {
215+
$('#list-alert').removeClass("d-none");
216+
}
217+
else {
218+
$('#list-alert').addClass("d-none");
219219
}
220220
});
221221

0 commit comments

Comments
 (0)