Fix terms registry

This commit is contained in:
DazedAnon 2025-01-23 14:45:34 -06:00
parent dc5ec2a938
commit 2c4f46bf3d

View file

@ -1422,7 +1422,7 @@
this.getAllHiddenGlossaryList().forEach(
function (item) {
if (!this.hasItem(item) && this.isAutoGlossaryWord(item)) {
if (likeFlag && !text.contains(item.name)) {
if (likeFlag && !text.toLowerCase().contains(item.name.toLowerCase())) {
return;
}
if (!likeFlag && text !== item.name) {