Merge pull request #14802 from nextcloud/print-backupcodes-monospace
Use monospaced font when printing twofactor backup codes.
This commit is contained in:
commit
eb783d0eb7
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
export function print (data) {
|
||||
const newTab = window.open('', t('twofactor_backupcodes', 'Nextcloud backup codes'));
|
||||
newTab.document.write('<h1>' + t('twofactor_backupcodes', 'Nextcloud backup codes') + '</h1>');
|
||||
newTab.document.write(data);
|
||||
newTab.document.write('<pre>' + data + '</pre>');
|
||||
newTab.print();
|
||||
newTab.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue