diff --git a/bazaar.user.js b/bazaar.user.js index dbb4b14..f1b53a7 100644 --- a/bazaar.user.js +++ b/bazaar.user.js @@ -2,7 +2,7 @@ // @name Bazaar Helper // @namespace https://jotde.eu // @updateURL https://gitea.jotde.be/jens/tornjs/raw/branch/master/bazaar.user.js -// @version 0.1 +// @version 0.2 // @description try to take over the world! // @author JotDe: // @match https://www.torn.com/bazaar.php* @@ -36,7 +36,7 @@ async function changePlaceholder(marketItems) { itemList.forEach((item) => { const itemid = item.querySelector("img").getAttribute("src").split("/")[3]; const marketItem = marketItems[itemid]; - + if (marketItem) { item .querySelector('div[class="amount"] input[type="text"]')