add title to backup codes print page
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
e111015afa
commit
3295fe2eb7
|
@ -115,6 +115,7 @@
|
|||
_onPrintBackupCodes: function () {
|
||||
var data = this._getDownloadData();
|
||||
var 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.print();
|
||||
newTab.close();
|
||||
|
|
Loading…
Reference in New Issue