aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/admin.js b/web/cobrands/fixmystreet/admin.js
index 5c0378ad2..3066ee614 100644
--- a/web/cobrands/fixmystreet/admin.js
+++ b/web/cobrands/fixmystreet/admin.js
@@ -10,7 +10,7 @@ $(function(){
var show_open311 = false;
if ($form.find('[name=endpoint]').val()) {
show_open311 = true; // always show the form if there is an endpoint value
- } else if (send_method && !send_method.match(/^(email|noop|refused)$/i)) {
+ } else if (send_method && !send_method.match(/email|^noop$|^refused$/i)) {
show_open311 = true;
}
if (show_open311) {