- Docs: Mention lack of relative repo maintenance in issue template
- Linting (ESLint): As per latest ash-nazg - npm: Update devDeps.
This commit is contained in:
@@ -188,8 +188,7 @@ class Layer {
|
||||
* @returns {SVGGElement} The layer SVG group that was just removed.
|
||||
*/
|
||||
removeGroup () {
|
||||
const parent = this.group_.parentNode;
|
||||
const group = parent.removeChild(this.group_);
|
||||
const group = this.group_.remove();
|
||||
this.group_ = undefined;
|
||||
return group;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user