mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue