diff options
Diffstat (limited to 'web/script/player/popup.ts')
-rw-r--r-- | web/script/player/popup.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/script/player/popup.ts b/web/script/player/popup.ts index d300a5c..dde7ed6 100644 --- a/web/script/player/popup.ts +++ b/web/script/player/popup.ts @@ -44,6 +44,9 @@ export class Popup { const content = this.content! content.classList.add("jsp-popup-out") setTimeout(() => { + //@ts-ignore i know + const child_undo: undefined | (() => void) = content["jsh_undo"] + if (child_undo) child_undo() this.container.removeChild(content) }, 100) this.content = undefined |