From c6176438ee0ebd037afe6d8a38a8f039e9c88b02 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 6 Sep 2022 19:23:07 +0200 Subject: [PATCH] Rename tryToClosePopup to tryToClose --- dev/View/Popup/Compose.js | 8 ++++---- .../v/0.0.0/app/templates/Views/User/PopupsCompose.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev/View/Popup/Compose.js b/dev/View/Popup/Compose.js index 1f56d11b1..7624805cf 100644 --- a/dev/View/Popup/Compose.js +++ b/dev/View/Popup/Compose.js @@ -326,7 +326,7 @@ export class ComposePopupView extends AbstractViewPopup { ] }); - this.tryToClosePopup = this.tryToClosePopup.debounce(200); + this.tryToClose = this.tryToClose.debounce(200); this.iTimer = 0; @@ -724,7 +724,7 @@ export class ComposePopupView extends AbstractViewPopup { this.saveCommand(); } - this.tryToClosePopup(); + this.tryToClose(); } contactsCommand() { @@ -1183,7 +1183,7 @@ export class ComposePopupView extends AbstractViewPopup { }, 100); } - tryToClosePopup() { + tryToClose() { if (AskPopupView.hidden()) { if (this.bSkipNextHide || (this.isEmptyForm() && !this.draftUid())) { this.close(); @@ -1331,7 +1331,7 @@ export class ComposePopupView extends AbstractViewPopup { }); addShortcut('escape,close', 'shift', ScopeCompose, () => { - this.tryToClosePopup(); + this.tryToClose(); return false; }); diff --git a/snappymail/v/0.0.0/app/templates/Views/User/PopupsCompose.html b/snappymail/v/0.0.0/app/templates/Views/User/PopupsCompose.html index 709a13796..e0536efdf 100644 --- a/snappymail/v/0.0.0/app/templates/Views/User/PopupsCompose.html +++ b/snappymail/v/0.0.0/app/templates/Views/User/PopupsCompose.html @@ -57,7 +57,7 @@ - × + ×