From ce7014e83a0e0405d4ea52ee5d4bc1de5636ef54 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Fri, 4 Jul 2025 12:43:04 -0400 Subject: [PATCH] fix: resolve handleFileUpload ReferenceError while preserving upload code for future - Restore handleFileUpload import in widget-library.js to fix ReferenceError - Keep all upload functionality code intact for future development - Disable upload features in demo.html with "Under Development" messaging - Remove upload from feature button examples but preserve the code - Style disabled upload demo with greyed-out appearance - Fix demo page functionality while maintaining upload code for future fixes --- src/widget-library.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widget-library.js b/src/widget-library.js index 59ea946..dbe6e75 100644 --- a/src/widget-library.js +++ b/src/widget-library.js @@ -5,6 +5,7 @@ import { detectPageLanguage } from "./language-detection.js"; import { getThemeColors } from "./ui-themes.js"; import { openTTSModal } from "./tts-modal.js"; import { openTranslateModal } from "./translate-modal.js"; +import { handleFileUpload } from "./file-upload.js"; // Get USE_CUSTOM_STYLING from window or default const USE_CUSTOM_STYLING = window.UNCLOSEAI_CUSTOM_STYLING !== false;