From e0baa58ace22510d8e634deb144a1edf0dae1019 Mon Sep 17 00:00:00 2001 From: DominikDoom Date: Wed, 16 Apr 2025 11:23:12 +0200 Subject: [PATCH] Fix style appending to wrong node on forge classic Fixes #323 --- javascript/tagAutocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/tagAutocomplete.js b/javascript/tagAutocomplete.js index d8ccbea..c8670ce 100644 --- a/javascript/tagAutocomplete.js +++ b/javascript/tagAutocomplete.js @@ -1636,7 +1636,7 @@ async function setup() { } else { acStyle.appendChild(document.createTextNode(css)); } - gradioApp().appendChild(acStyle); + document.head.appendChild(acStyle); // Callback await processQueue(QUEUE_AFTER_SETUP, null);