aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/bathnes/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/bathnes/js.js b/web/cobrands/bathnes/js.js
index a478d71fc..0ed4c3d96 100644
--- a/web/cobrands/bathnes/js.js
+++ b/web/cobrands/bathnes/js.js
@@ -52,7 +52,7 @@ fixmystreet.roadworks.filter = function(feature) {
fixmystreet.roadworks.category_change = function() {
if (fixmystreet.map) {
- fixmystreet.roadworks.show_nearby(null, fixmystreet.map.getCenter());
+ fixmystreet.roadworks.show_nearby(null, fixmystreet.get_lonlat_from_dom());
}
};