diff options
Diffstat (limited to 'js/shop.js')
-rw-r--r-- | js/shop.js | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -69,10 +69,8 @@ function useItem(name) { sendRequest("craftmine.php", "op=useItem&item="+name, function(ret) { if(!ret.item) return; if(ret.perso) updatePerso(ret.perso); - var item = document.querySelector("[data-name=\""+ret.item[0].name+"\"]"); var nb = ret.item[1]; - if(nb>=1) item.innerHTML = nb; else |