Have disposeInternal call parent

This commit is contained in:
Éric Lemoine
2012-10-11 17:46:22 +02:00
parent fbc810264b
commit 0b411ad69c
3 changed files with 3 additions and 1 deletions

View File

@@ -295,8 +295,8 @@ ol.Map.prototype.canRotate = function() {
* @inheritDoc
*/
ol.Map.prototype.disposeInternal = function() {
goog.base(this, 'disposeInternal');
goog.dom.removeNode(this.viewport_);
goog.base(this, 'disposeInternal');
};