From 6c532054434e12005e74edbcfe5b851d6a15f86c Mon Sep 17 00:00:00 2001 From: Abhorrent_Anger Date: Fri, 22 Mar 2024 14:25:48 +0200 Subject: [PATCH] Hover and missing var fixes --- script.js | 2 +- style.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/script.js b/script.js index 8cbb7cd..f96e11c 100644 --- a/script.js +++ b/script.js @@ -152,7 +152,7 @@ function handleHTML(steam_id, steam_name, html_string) { inventory.attr('data-items', item_count); var last_div = null; inventories.each(function () { - if (child_count > $(this).children().length) { + if (item_count > $(this).children().length) { return false; } last_div = $(this); diff --git a/style.css b/style.css index 6802784..cb86a34 100644 --- a/style.css +++ b/style.css @@ -105,6 +105,8 @@ li { margin-left: -64px; margin-top: 30px; display: none; + font-style: normal; + font-weight: 500; } a,