From 32cb826ae50efd512677a5ea890a647af3cd0aa0 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Mon, 4 Feb 2013 07:39:10 +0000 Subject: Fix bad map JavaScript. --- web/js/map-OpenLayers.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/js/map-OpenLayers.js') diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index e9e51113c..3639549f8 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -273,8 +273,8 @@ $(function(){ // Set it up our way var layer; - if (!fixmystreet.layer_options.length) { - fixmystreet.layer_options = [ fixmystreet.layer_options ]; + if (!fixmystreet.layer_options) { + fixmystreet.layer_options = [ {} ]; } for (var i=0; i