From c2c87a80a13df0a0f2e18bc050e82608abb0ae6a Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 28 Jan 2013 20:33:30 +0100 Subject: [PATCH 1/2] Remove duplicate CSS rule --- css/ol.css | 3 --- 1 file changed, 3 deletions(-) diff --git a/css/ol.css b/css/ol.css index 5e679f5ddc..eca80d969c 100644 --- a/css/ol.css +++ b/css/ol.css @@ -19,9 +19,6 @@ display: inline; list-style: none; } -.ol-attribution li { - display: inline; -} .ol-attribution li:not(:last-child):after { content: "\2003"; } From 2e401b43f41d76042ce26a6451059e0693786e35 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 28 Jan 2013 20:38:02 +0100 Subject: [PATCH 2/2] Make attribution control unselectable --- src/ol/control/attributioncontrol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/control/attributioncontrol.js b/src/ol/control/attributioncontrol.js index 52e33effba..e8da8080b8 100644 --- a/src/ol/control/attributioncontrol.js +++ b/src/ol/control/attributioncontrol.js @@ -24,7 +24,7 @@ ol.control.Attribution = function(attributionOptions) { this.ulElement_ = goog.dom.createElement(goog.dom.TagName.UL); var element = goog.dom.createDom(goog.dom.TagName.DIV, { - 'class': 'ol-attribution' + 'class': 'ol-attribution ol-unselectable' }, this.ulElement_); goog.base(this, {