Merge branch 'pulls/692/design-fixes' of github.com:finnlabs/chiliproject into pulls/692/design-fixes

pull/41/head
Romano Licker 13 years ago
commit 0b5f931634
  1. 4
      public/javascripts/chosen.js

@ -538,8 +538,8 @@
if (searchText.length) {
startpos = option.html.search(zregex);
text = $('<div/>').html(option.html).text();
text = text.substr(0, startpos + searchText.length) + '</em>' + text.substr(startpos + searchText.length);
text = text.substr(0, startpos) + '<em>' + text.substr(startpos);
text = text.substr(0, startpos + searchText.length) + text.substr(startpos + searchText.length);
text = text.substr(0, startpos) + text.substr(startpos);
} else {
text = option.html;
}

Loading…
Cancel
Save