Fixed public dictionary search
This commit is contained in:
parent
487c98203d
commit
b0d45e226c
|
@ -83,7 +83,7 @@ function ShowPublicDictionary() {
|
||||||
function PublicDictionaryEntry(itemIndex) {
|
function PublicDictionaryEntry(itemIndex) {
|
||||||
var entryText = "<entry><a name='" + publicDictionary.words[itemIndex].wordId + "'></a><a href='#" + publicDictionary.words[itemIndex].wordId + "' class='wordLink clickable'>🔗</a>";
|
var entryText = "<entry><a name='" + publicDictionary.words[itemIndex].wordId + "'></a><a href='#" + publicDictionary.words[itemIndex].wordId + "' class='wordLink clickable'>🔗</a>";
|
||||||
|
|
||||||
var searchTerm = document.getElementById("searchBox").value;
|
var searchTerm = regexParseForSearch(document.getElementById("searchBox").value);
|
||||||
var searchByWord = document.getElementById("searchOptionWord").checked;
|
var searchByWord = document.getElementById("searchOptionWord").checked;
|
||||||
var searchBySimple = document.getElementById("searchOptionSimple").checked;
|
var searchBySimple = document.getElementById("searchOptionSimple").checked;
|
||||||
var searchByLong = document.getElementById("searchOptionLong").checked;
|
var searchByLong = document.getElementById("searchOptionLong").checked;
|
||||||
|
|
Loading…
Reference in New Issue