From 1bb88a2f13f238aaa16c81b9c37594cdccdeb821 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sat, 9 Feb 2008 19:35:27 +0000 Subject: [PATCH] Make popup text selectable in Firefox. (Closes #1129) git-svn-id: http://svn.openlayers.org/trunk/openlayers@6176 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Map.js | 1 + theme/default/style.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index fae32f8474..61144e05dc 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -732,6 +732,7 @@ OpenLayers.Map = OpenLayers.Class({ } } + layer.div.className = "olLayerDiv"; layer.div.style.overflow = ""; this.setLayerZIndex(layer, this.layers.length); diff --git a/theme/default/style.css b/theme/default/style.css index 061619ffa9..a0e92093e4 100644 --- a/theme/default/style.css +++ b/theme/default/style.css @@ -1,4 +1,4 @@ -div.olMapViewport { +div.olLayerDiv { -moz-user-select: none }