tfa: paperkey: cleanup iframes for printing after window close

similar as recently done for the PBS storage add/edit window in
pve-manager

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
[ TL: refer to same change as done in pve-manager ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Aaron Lauterer 2023-04-03 14:28:49 +02:00 committed by Thomas Lamprecht
parent 0f19a29995
commit 93f8588e41

View File

@ -220,5 +220,6 @@ ${keyString}
printFrame.src = "data:text/html;base64," + btoa(html);
document.body.appendChild(printFrame);
me.on('destroy', () => document.body.removeChild(printFrame));
},
});