diff options
Diffstat (limited to 'pages/hud.coffee')
| -rw-r--r-- | pages/hud.coffee | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pages/hud.coffee b/pages/hud.coffee index 3f8eaa93..130d866f 100644 --- a/pages/hud.coffee +++ b/pages/hud.coffee @@ -29,9 +29,8 @@ handlers = countElement = document.getElementById "hud-match-count" return unless countElement? # Don't do anything if we're not in find mode. - plural = if matchCount == 1 then "" else "es" countText = if matchCount > 0 - " (" + matchCount + " Match#{plural})" + " (#{matchCount} Match#{if matchCount == 1 then "" else "es"})" else " (No matches)" countElement.textContent = if showMatchText then countText else "" |
