diff --git a/src/web/confirm.js b/src/web/confirm.js index 079cfc1..4717dfd 100644 --- a/src/web/confirm.js +++ b/src/web/confirm.js @@ -2,7 +2,7 @@ import { L10n } from "./l10n.mjs"; import { SafeBccConfirmation } from "./safe-bcc-confirmation.mjs"; import { AddedDomainsReconfirmation } from "./added-domains-reconfirmation.mjs"; import { AttachmentsConfirmation } from "./attachments-confirmation.mjs"; -import * as DialogUtils from "./dialog-utils.mjs"; +import * as Dialog from "./dialog.mjs"; let l10n; let safeBccConfirmation; @@ -175,7 +175,7 @@ async function onMessageFromParent(arg) { ) ); - DialogUtils.resizeToContent(); + Dialog.resizeToContent(); addedDomainsReconfirmation.init(data); addedDomainsReconfirmation.initUI(sendStatusToParent); diff --git a/src/web/count-down.js b/src/web/count-down.js index ec0b429..a06de89 100644 --- a/src/web/count-down.js +++ b/src/web/count-down.js @@ -1,5 +1,5 @@ import { L10n } from "./l10n.mjs"; -import * as DialogUtils from "./dialog-utils.mjs"; +import * as Dialog from "./dialog.mjs"; let l10n; @@ -45,7 +45,7 @@ async function onMessageFromParent(arg) { $("#count").text(data.config.common.CountSeconds); $("#message").show(); - DialogUtils.resizeToContent(); + Dialog.resizeToContent(); const start = Date.now(); const timer = window.setInterval(() => { diff --git a/src/web/dialog-utils.mjs b/src/web/dialog.mjs similarity index 100% rename from src/web/dialog-utils.mjs rename to src/web/dialog.mjs