diff --git a/packages/services/src/Domain/Strings/InfoStrings.ts b/packages/services/src/Domain/Strings/InfoStrings.ts index 421f2fe8c..cd220ca05 100644 --- a/packages/services/src/Domain/Strings/InfoStrings.ts +++ b/packages/services/src/Domain/Strings/InfoStrings.ts @@ -4,8 +4,6 @@ export const InfoStrings = { 'This backup file was created using a newer version of the application and cannot be imported here. Please update your application and try again.', BackupFileMoreRecentThanAccount: "This backup file was created using a newer encryption version than your account's. Please run the available encryption upgrade and try again.", - SavingWhileDocumentHidden: - 'Attempting to save an item while the application is hidden. To protect data integrity, please refresh the application window and try again.', InvalidNote: "The note you are attempting to save can not be found or has been deleted. Changes you make will not be synced. Please copy this note's text and start a new note.", } diff --git a/packages/web/src/javascripts/Components/NoteView/Controller/NoteViewController.ts b/packages/web/src/javascripts/Components/NoteView/Controller/NoteViewController.ts index 7f8fb83ad..cbb5ba624 100644 --- a/packages/web/src/javascripts/Components/NoteView/Controller/NoteViewController.ts +++ b/packages/web/src/javascripts/Components/NoteView/Controller/NoteViewController.ts @@ -235,10 +235,6 @@ export class NoteViewController implements ItemViewControllerInterface { const isTemplate = this.isTemplateNote - if (typeof document !== 'undefined' && document.hidden) { - void this.application.alertService.alert(InfoStrings.SavingWhileDocumentHidden) - } - if (isTemplate) { await this.insertTemplatedNote() }