diff --git a/www/js/inventory.js b/www/js/inventory.js index 5d64504..fdc6251 100644 --- a/www/js/inventory.js +++ b/www/js/inventory.js @@ -8,6 +8,11 @@ function loadInventory(reload) { if (typeof reload != "boolean") { reload = false; + // Make it reload if there's already stuff there, + // to keep the items from disappearing and coming back + if ($("#item-bin .item-col").length > 0) { + reload = true; + } } if (reload == false) { $("#item-bin .item-col").remove();