aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authoralexichi <alexbankai96@gmail.com>2016-04-25 13:45:05 +0200
committeralexichi <alexbankai96@gmail.com>2016-04-25 13:45:05 +0200
commit8140617aeb2f32f7095a443ca743c6d6915739c6 (patch)
tree86d18cbb6e021b78ba1ce87307447d71d1802ad3 /js
parent29d23898c7ec5d3280e9a7f01a6209f8c8f2d5f8 (diff)
downloadcandybox-8140617aeb2f32f7095a443ca743c6d6915739c6.tar.gz
candybox-8140617aeb2f32f7095a443ca743c6d6915739c6.tar.bz2
candybox-8140617aeb2f32f7095a443ca743c6d6915739c6.tar.xz
candybox-8140617aeb2f32f7095a443ca743c6d6915739c6.zip
change class of Hire a Miner, and change type submit to button for items
Diffstat (limited to 'js')
-rw-r--r--js/shop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/shop.js b/js/shop.js
index 00636e1..22ca85f 100644
--- a/js/shop.js
+++ b/js/shop.js
@@ -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");