diff --git a/coffee/lib/abstract-chosen.coffee b/coffee/lib/abstract-chosen.coffee index f5482d8d19f..2ad40bc9a17 100644 --- a/coffee/lib/abstract-chosen.coffee +++ b/coffee/lib/abstract-chosen.coffee @@ -207,7 +207,7 @@ class AbstractChosen if option.search_match if query.length and not searchMatchFromValue - startpos = search_match.index + startpos = search_match.index highlightRegex prefix = text.slice(0, startpos) fix = text.slice(startpos, startpos + query.length) suffix = text.slice(startpos + query.length)