mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-17 10:16:57 +00:00
node.remove()
exists, so why have I been doing node.parentElement.removeChild(node)
. I am literally the worst.
This commit is contained in:
parent
ddee1e3bb5
commit
fcc3cab35f
9 changed files with 10 additions and 15 deletions
|
@ -243,7 +243,7 @@ export default class Scroller extends Module {
|
|||
this._ffz_freeze_visible = false;
|
||||
|
||||
if ( this._ffz_freeze_indicator ) {
|
||||
node.removeChild(this._ffz_freeze_indicator);
|
||||
this._ffz_freeze_indicator.remove();
|
||||
this._ffz_freeze_indicator = null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue