diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/PlaceHolder.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/PlaceHolder.js b/src/content/PlaceHolder.js index 69db5dd..a13ae37 100644 --- a/src/content/PlaceHolder.js +++ b/src/content/PlaceHolder.js @@ -186,7 +186,7 @@ var PlaceHolder = (() => { close(replacement) { replacement.classList.add("closing"); this.replacements.delete(replacement); - window.setTimeout(() => replacement.parentNode.removeChild(replacement), 500); + window.setTimeout(() => replacement.remove(), 500); } } |