Fix catch matching in typeahead, dont bill services past their end date
This commit is contained in:
2
resources/js/bootstrap3-typeahead.js
vendored
2
resources/js/bootstrap3-typeahead.js
vendored
@@ -313,7 +313,7 @@
|
||||
text = text.replace((/[\(\)\/\.\*\+\?\[\]]/g), function (mat) {
|
||||
return '\\' + mat;
|
||||
});
|
||||
var reg = new RegExp(text, 'g');
|
||||
var reg = new RegExp(text, 'ig');
|
||||
var m;
|
||||
for (i = 0; i < first.length; ++i) {
|
||||
m = first[i].match(reg);
|
||||
|
Reference in New Issue
Block a user