From 76d0fb448a086f0e6aa08e09726f9605675d51c9 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Thu, 3 Jul 2025 16:36:40 -0400 Subject: [PATCH] fix: correct import path from page-content.js to content.js - Fix CORS error caused by incorrect import in translate-modal.js - Change import from ./page-content.js to ./content.js - Resolves module loading issues --- src/translate-modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translate-modal.js b/src/translate-modal.js index 5af7257..7f1cf40 100644 --- a/src/translate-modal.js +++ b/src/translate-modal.js @@ -1,7 +1,7 @@ // Translation Modal functionality import { initializeChunkFiveFont } from "./ui-themes.js"; import { getUIText } from "./ui-translations.js"; -import { extractWebpageContent } from "./page-content.js"; +import { extractWebpageContent } from "./content.js"; import { handleTranslation } from "./translation.js"; import { SUPPORTED_LANGUAGES } from "./languages/index.js";