ui: pbs paperkey: cleanup iframe for printing after window close
Reported-by: Aaron Lauterer <a.lauterer@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
d232c409f6
commit
faaae2a2bb
@ -181,6 +181,7 @@ ${prettifiedKey}
|
|||||||
|
|
||||||
printFrame.src = "data:text/html;base64," + btoa(html);
|
printFrame.src = "data:text/html;base64," + btoa(html);
|
||||||
document.body.appendChild(printFrame);
|
document.body.appendChild(printFrame);
|
||||||
|
me.on('destroy', () => document.body.removeChild(printFrame));
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user