Fix persona sorting on load

This commit is contained in:
Cohee 2024-05-21 00:22:56 +03:00
parent 63f96f4dc7
commit 03bb911ee7
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ function verifyPersonaSearchSortRule() {
flashHighlight(selector); flashHighlight(selector);
} }
// If search got cleared, we make sure to hide the option and go back to the one before // If search got cleared, we make sure to hide the option and go back to the one before
if (!searchTerm && !isHidden) { if (!searchTerm) {
searchOption.attr('hidden', ''); searchOption.attr('hidden', '');
selector.val(power_user.persona_sort_order); selector.val(power_user.persona_sort_order);
} }