From 3295fe2eb74695d4549da8d27d9427c20302487e Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 20 Dec 2016 14:52:24 +0100 Subject: add title to backup codes print page Signed-off-by: Christoph Wurst --- apps/twofactor_backupcodes/js/settingsview.js | 1 + 1 file changed, 1 insertion(+) (limited to 'apps') 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('

' + t('twofactor_backupcodes', 'Nextcloud backup codes') + '

'); newTab.document.write(data); newTab.print(); newTab.close(); -- cgit v1.2.3