Use goog.dom functions

This commit is contained in:
Tom Payne
2012-08-03 11:13:01 +02:00
parent c75ce23c5a
commit d03586d8e9
4 changed files with 8 additions and 7 deletions

View File

@@ -144,7 +144,7 @@ ol.webgl.Map = function(target, opt_values) {
this.canvas_.height = target.clientHeight;
this.canvas_.width = target.clientWidth;
this.canvas_.style.overflow = 'hidden';
target.appendChild(this.canvas_);
goog.dom.appendChild(target, this.canvas_);
/**
* @private