mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Remove goog.dom.removeNode
This commit is contained in:
@@ -28,7 +28,6 @@ goog.provide('Blockly.FlyoutButton');
|
||||
|
||||
goog.require('Blockly.utils');
|
||||
|
||||
goog.require('goog.dom');
|
||||
goog.require('goog.math.Coordinate');
|
||||
|
||||
|
||||
@@ -240,7 +239,7 @@ Blockly.FlyoutButton.prototype.dispose = function() {
|
||||
Blockly.unbindEvent_(this.onMouseUpWrapper_);
|
||||
}
|
||||
if (this.svgGroup_) {
|
||||
goog.dom.removeNode(this.svgGroup_);
|
||||
this.svgGroup_.parentNode.removeChild(this.svgGroup_);
|
||||
this.svgGroup_ = null;
|
||||
}
|
||||
this.workspace_ = null;
|
||||
|
||||
Reference in New Issue
Block a user