Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

regexes are no longer functions

  • Loading branch information...
commit 015af925e903826948e2963477b6bf188d2be7b5 1 parent 17c0029
@Floby authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  public/javascripts/watcher.js
View
2  public/javascripts/watcher.js
@@ -129,7 +129,7 @@ watcher.setFilter = function setFilter(table, form) {
var match = regex.checked ? readRegExp(filter.value) :
new RegExp(filter.value, 'gi');
var nb = watcher.filter(table, function(str) {
- if(match(str)) {
+ if(match.test(str)) {
return str.replace(match, "<strong>$&</strong>");
}
})
Please sign in to comment.
Something went wrong with that request. Please try again.