From e208b1cea32d5c38bfe146f074aaa126dc9bcb82 Mon Sep 17 00:00:00 2001 From: TheFlow Date: Sat, 1 Nov 2025 11:11:38 +1300 Subject: [PATCH] fix: remove undefined showTranslationFallbackNotice function call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Removed call to showTranslationFallbackNotice(language) which was undefined - Console warning already logs the fallback behavior - Prevents ReferenceError when loading translated documents - Related to glossary translation fallback handling 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- public/js/docs-app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/docs-app.js b/public/js/docs-app.js index e260e0f4..f9a104fc 100644 --- a/public/js/docs-app.js +++ b/public/js/docs-app.js @@ -655,8 +655,8 @@ async function loadDocument(slug, lang = null) { const enData = await enResponse.json(); if (enData.success) { - // Show notification that translation isn't available - showTranslationFallbackNotice(language); + // Translation not available - falling back to English + // (console warning already logged above) const fallbackData = enData; fallbackData.document.language = 'en'; fallbackData.document.fallback = true;