From fae8295ec207a2d20ad760af3fa034ec8f72d553 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 3 Feb 2008 23:57:37 +0000 Subject: [PATCH 1/1] Disable keyboard control of the map as it causes problems by catching keypresses in other parts of the page. Closes #659. --- public/javascripts/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/map.js b/public/javascripts/map.js index abbc7f8ea..e4e808a67 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -29,7 +29,7 @@ function createMap(divName) { map.addLayer(markers); map.addControl(new OpenLayers.Control.LayerSwitcher()); - map.addControl(new OpenLayers.Control.KeyboardDefaults()); + // map.addControl(new OpenLayers.Control.KeyboardDefaults()); return map; } -- 2.43.2