Skip to content

Commit

Permalink
Update message to show more suggested searches for Greek/Hebrew words
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Nov 1, 2023
1 parent 2dee308 commit d001ac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions step-web/src/main/webapp/js/search_selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -2009,7 +2009,7 @@ step.searchSelect = {
// and another "more..." option to get the GREEK / HEBREW search suggestions.
existingSuggestionsToDisplay[suggestToDisplayIndex] += needLineBreak +
'&nbsp;&nbsp;&nbsp;<a style="padding:0px" title="click to see more suggestions" href="javascript:step.searchSelect._handleEnteredSearchWord(\''
+ suggestionType + '\')"><b>' + __s.more + ' with meaning of your search word...</b></a>';
+ suggestionType + '\')"><b>list all with similar meaning...</b></a>';
additionalSuggestionType = (suggestionType === GREEK_MEANINGS) ? GREEK : HEBREW;
}
if (((additionalSuggestionType === GREEK) && (hasGreek)) ||
Expand All @@ -2018,7 +2018,7 @@ step.searchSelect = {
existingSuggestionsToDisplay[suggestToDisplayIndex] += '<br>';
existingSuggestionsToDisplay[suggestToDisplayIndex] += needLineBreak +
'&nbsp;&nbsp;&nbsp;<a style="padding:0px" title="click to see more suggestions" href="javascript:step.searchSelect._handleEnteredSearchWord(\'' +
additionalSuggestionType + '\')"><b>' + __s.more + ' with similar ' + additionalSuggestionType.charAt(0) + additionalSuggestionType.slice(1).toLowerCase() +
additionalSuggestionType + '\')"><b>list all with with similar ' + additionalSuggestionType.charAt(0) + additionalSuggestionType.slice(1).toLowerCase() +
' spelling...</b></a>';
}
// else
Expand Down

0 comments on commit d001ac7

Please sign in to comment.