aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/bathnes/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/cobrands/bathnes/js.js')
-rw-r--r--web/cobrands/bathnes/js.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/cobrands/bathnes/js.js b/web/cobrands/bathnes/js.js
index 71077ed43..86b835d3d 100644
--- a/web/cobrands/bathnes/js.js
+++ b/web/cobrands/bathnes/js.js
@@ -114,14 +114,14 @@ function include_feature(f) {
return f &&
f.attributes &&
f.attributes.ownername &&
- exclude_ownernames.indexOf(f.attributes.ownername) == -1;
+ OpenLayers.Util.indexOf(exclude_ownernames, f.attributes.ownername) == -1;
}
function banes_owns_feature(f) {
return f &&
f.attributes &&
f.attributes.ownername &&
- banes_ownernames.indexOf(f.attributes.ownername) > -1 &&
+ OpenLayers.Util.indexOf(banes_ownernames, f.attributes.ownername) > -1 &&
include_feature(f);
}