Index: trunk/extensions/SemanticDrilldown/libs/SemanticDrilldown.js |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | .insertAfter(select)
|
18 | 18 | .autocomplete({
|
19 | 19 | source: function(request, response) {
|
20 | | - var matcher = new RegExp("\\\b"+ request.term, "i");
|
| 20 | + var matcher = new RegExp("\\b" + request.term, "i" );
|
21 | 21 | response(select.children("option").map(function() {
|
22 | 22 | var text = jQuery(this).text();
|
23 | 23 | if (this.value && (!request.term || matcher.test(text)))
|