diff options
Diffstat (limited to 'js/shop.js')
-rw-r--r-- | js/shop.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ function buildShop() { function addItem(ret) { var itemhtml = "<li>"; - itemhtml += "<button type=\"submit\" class=\"btn btn-primary\" onclick=\"useItem('" + ret.name + "')\"><span class=\"item-icon\">" + ret.icon + "</span><br />" + ret.name + "</button>"; + itemhtml += "<button type=\"button\" class=\"btn btn-primary\" onclick=\"useItem('" + ret.name + "')\"><span class=\"item-icon\">" + ret.icon + "</span><br />" + ret.name + "</button>"; itemhtml += "</li>"; var invcontent = document.getElementById("tab3"); |