Supported searching exact ID match

This commit is contained in:
AnonymousRandomPerson 2022-04-08 22:38:19 -04:00
parent 0659cb8be2
commit 63ed0915d2

View file

@ -422,6 +422,7 @@ function initView(){
value.name.toLowerCase().indexOf(filter) !== -1
|| value.description.toLowerCase().indexOf(filter) !== -1
|| value.subreddit && value.subreddit.toLowerCase().indexOf(filter) !== -1
|| value.id === filter
);
});
document.getElementById("atlasSize").innerHTML = "Found "+sortedAtlas.length+" entries.";