Merge pull request #163 from twpayne/attribution-control-clean-ups
Attribution control clean ups
This commit is contained in:
@@ -19,9 +19,6 @@
|
|||||||
display: inline;
|
display: inline;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
.ol-attribution li {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
.ol-attribution li:not(:last-child):after {
|
.ol-attribution li:not(:last-child):after {
|
||||||
content: "\2003";
|
content: "\2003";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ ol.control.Attribution = function(attributionOptions) {
|
|||||||
this.ulElement_ = goog.dom.createElement(goog.dom.TagName.UL);
|
this.ulElement_ = goog.dom.createElement(goog.dom.TagName.UL);
|
||||||
|
|
||||||
var element = goog.dom.createDom(goog.dom.TagName.DIV, {
|
var element = goog.dom.createDom(goog.dom.TagName.DIV, {
|
||||||
'class': 'ol-attribution'
|
'class': 'ol-attribution ol-unselectable'
|
||||||
}, this.ulElement_);
|
}, this.ulElement_);
|
||||||
|
|
||||||
goog.base(this, {
|
goog.base(this, {
|
||||||
|
|||||||
Reference in New Issue
Block a user