diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-12-20 14:52:24 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-01-17 10:32:28 +0100 |
commit | 3295fe2eb74695d4549da8d27d9427c20302487e (patch) | |
tree | 910e9ce2456cdd0e73484429bef33335c46b2e4e /apps/twofactor_backupcodes/js | |
parent | e111015afab4e21fb6a722746e9ad9ed86ad0c10 (diff) | |
download | nextcloud-server-3295fe2eb74695d4549da8d27d9427c20302487e.tar.gz nextcloud-server-3295fe2eb74695d4549da8d27d9427c20302487e.zip |
add title to backup codes print page
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/twofactor_backupcodes/js')
-rw-r--r-- | apps/twofactor_backupcodes/js/settingsview.js | 1 |
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(); |