Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowMonster99 committed Jan 17, 2024
1 parent d34321a commit e26eb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/config/config.cpp
Expand Up @@ -461,7 +461,7 @@ const nlohmann::json themeConfig::getThemeData(bool raw) noexcept
return false;
});

if (hasJavaScriptPatch && Settings::Get<bool>("allow-javascript") == false) {
if (hasJavaScriptPatch && Settings::Get<bool>("allow-javascript") == false && !Settings::Get<bool>("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"
Expand Down

0 comments on commit e26eb0b

Please sign in to comment.