mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 09:15:50 +01:00
fix(client): menu stays active while printing
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user