Making Element/Node types more consistent.
This commit is contained in:
@@ -104,7 +104,8 @@ ol.control.Zoom.prototype.handle = function(evt) {
|
||||
|
||||
ol.control.Zoom.prototype.destroy = function() {
|
||||
goog.dom.removeNode(goog.dom.getElementByClass(
|
||||
ol.control.Zoom.RES.CLS, this.map_.getViewport()
|
||||
ol.control.Zoom.RES.CLS,
|
||||
/** @type {Element} */ (this.map_.getViewport())
|
||||
));
|
||||
goog.base(this, 'destroy');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user