mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 14:50:56 +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
|
@ -89,7 +89,7 @@ export default {
|
|||
async: true,
|
||||
charset: 'utf-8',
|
||||
src: 'https://platform.twitter.com/widgets.js',
|
||||
onLoad: () => el.parentElement.removeChild(el)
|
||||
onLoad: () => el.remove()
|
||||
}));
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue