Fixed wording for plurals on result counter.
This commit is contained in:
parent
1c1e9383eb
commit
9d18c038e2
2
js/ui.js
2
js/ui.js
|
@ -385,7 +385,7 @@ function ShowFilterWordCount(numberOfWords) {
|
|||
var wordCounter = document.getElementById("filterWordCount");
|
||||
|
||||
if (filter != "" || search != "") {
|
||||
wordCounter.innerHTML = "Showing " + numberOfWords.toString() + " result" + ((numberOfWords > 1) ? "s" : "");
|
||||
wordCounter.innerHTML = "Showing " + numberOfWords.toString() + " result" + ((numberOfWords != 1) ? "s" : "");
|
||||
} else {
|
||||
wordCounter.innerHTML = "";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue