From a9d10ba774d0f61f32268c7ee84a5f80b5c7ddd4 Mon Sep 17 00:00:00 2001 From: Rintim Date: Thu, 7 Sep 2023 23:15:25 +0800 Subject: [PATCH] fix compatibility. --- game/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index ca7caf84f..b5c8f8d87 100644 --- a/game/game.js +++ b/game/game.js @@ -32272,7 +32272,7 @@ that._cache.rules=[]; that._cache.style=document.createElement("style"); that._cache.style.id="game.dynamicStyle"; - document.head.append(that._cache.style); + document.head.appendChild(that._cache.style); that._cache.sheet = that._cache.style.sheet; delete game.dynamicStyle.init; return true;