From: Jason Skomorowski Date: Fri, 6 Feb 2015 16:04:03 +0000 (-0500) Subject: Fix overzealous edit X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=fad8d5da11b18ef3fe25e8927a298232cbe6be7a;p=mkws-moved-to-github.git Fix overzealous edit --- diff --git a/src/mkws-filter.js b/src/mkws-filter.js index 5833cc3..0b2ea63 100644 --- a/src/mkws-filter.js +++ b/src/mkws-filter.js @@ -95,7 +95,7 @@ function filterSet(team) { that.visitCategories(function(id) { if (res) res += ","; - res += "category~" + id.replace(/[\,]/g, '\\$&'); + res += "category~" + id.replace(/[\\,]/g, '\\$&'); }); return res; }