summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/twofactor_backupcodes/js')
-rw-r--r--apps/twofactor_backupcodes/js/settingsview.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/twofactor_backupcodes/js/settingsview.js b/apps/twofactor_backupcodes/js/settingsview.js
index 633b845dc76..753644fb210 100644
--- a/apps/twofactor_backupcodes/js/settingsview.js
+++ b/apps/twofactor_backupcodes/js/settingsview.js
@@ -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();