Remove use of goog.dom.appendChild

Use `parent.appendChild(child)` instead.
This commit is contained in:
Frederic Junod
2015-10-01 12:06:35 +02:00
parent e5397cbfca
commit 9b6ad1b36f
6 changed files with 14 additions and 14 deletions

View File

@@ -116,7 +116,7 @@ ol.control.Control.prototype.setMap = function(map) {
if (this.map_) {
var target = this.target_ ?
this.target_ : map.getOverlayContainerStopEvent();
goog.dom.appendChild(target, this.element);
target.appendChild(this.element);
if (this.render !== ol.nullFunction) {
this.listenerKeys.push(goog.events.listen(map,
ol.MapEventType.POSTRENDER, this.render, false, this));