mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(client): menu stays active while printing
This commit is contained in:
parent
377de59df9
commit
982d136151
@ -297,7 +297,8 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
|
||||
return;
|
||||
}
|
||||
|
||||
window.print();
|
||||
// Trigger in timeout to dismiss the menu while printing.
|
||||
setTimeout(window.print, 0);
|
||||
}
|
||||
|
||||
async exportAsPdfEvent() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user