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,