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

@@ -136,7 +136,7 @@ ol.renderer.dom.ImageLayer.prototype.prepareFrame =
imageElement.style.maxWidth = 'none';
imageElement.style.position = 'absolute';
goog.dom.removeChildren(this.target);
goog.dom.appendChild(this.target, imageElement);
this.target.appendChild(imageElement);
this.image_ = image;
}
this.setTransform_(transform);