Skip to content

Commit

Permalink
Merge branch 'sticky-no-choices-notice'
Browse files Browse the repository at this point in the history
  • Loading branch information
Xon committed Sep 4, 2024
2 parents acd1db0 + 8937cac commit 272ce75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/choices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ class Choices {
if (noticeType !== NoticeTypes.addChoice) {
if (!results.length) {
this._displayNotice(resolveStringFunction(this.config.noResultsText), NoticeTypes.noResults);
} else if (noticeType === NoticeTypes.noResults) {
} else {
this._clearNotice();
}
}
Expand Down

0 comments on commit 272ce75

Please sign in to comment.