- 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:
Brett Zamir
2020-04-29 13:07:22 +08:00
parent 3a494dfee9
commit e43d128a2f
21 changed files with 269 additions and 5679 deletions

View File

@@ -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;
}