version up

This commit is contained in:
2020-05-03 23:48:33 +02:00
parent 5f4482e8d3
commit 9d1c98dd98

View File

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