From e26eb0bcbdbd4981640b7cab1c6d8448c315192c Mon Sep 17 00:00:00 2001 From: ShadowMonster <81448108+ShadowMonster99@users.noreply.github.com> Date: Wed, 17 Jan 2024 19:39:56 -0400 Subject: [PATCH] bug fix --- src/utils/config/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/config/config.cpp b/src/utils/config/config.cpp index 2916c122..131712f8 100644 --- a/src/utils/config/config.cpp +++ b/src/utils/config/config.cpp @@ -461,7 +461,7 @@ const nlohmann::json themeConfig::getThemeData(bool raw) noexcept return false; }); - if (hasJavaScriptPatch && Settings::Get("allow-javascript") == false) { + if (hasJavaScriptPatch && Settings::Get("allow-javascript") == false && !Settings::Get("prompted-js")) { int result = MsgBox( "The selected theme is using JavaScript to enhance your Steam experience.\n" "You have JavaScript disabled in Millennium settings, therefore, the selected skin may not function properly.\n\n"