# HG changeset patch # User Mads Kiilerich # Date 1505437590 -7200 # Node ID c47ab93fdc72656120bb7f664a7c05a3754c3f59 # Parent 5f0bba61653c04de20002ce6109277149369a782 autocomplete: highlight the matched search string - use select2-match class as select2 itself does diff -r 5f0bba61653c -r c47ab93fdc72 kallithea/public/js/base.js --- a/kallithea/public/js/base.js Tue Sep 12 20:21:34 2017 +0200 +++ b/kallithea/public/js/base.js Fri Sep 15 03:06:30 2017 +0200 @@ -1070,9 +1070,9 @@ if (matchindex <0) return full; return full.substring(0, matchindex) - + "" + + '' + full.substr(matchindex, snippet.length) - + "" + full.substring(matchindex + snippet.length); + + '' + full.substring(matchindex + snippet.length); }; // Return html snippet for showing the provided gravatar url