diff --git a/www/js/shop.js b/www/js/shop.js index 89b5204..fef591a 100644 --- a/www/js/shop.js +++ b/www/js/shop.js @@ -115,25 +115,23 @@ function buyitem(id, cost) { } function getmerchhtmlfromjson(item) { - var itemhtml = "\ -
\ -

" + item.title + "

\ -

" + item.desc + "

"; - itemhtml += "\ - Buy Item (" + item.cost + " coins)\ - \ -
"; + var itemhtml = "
" + + "

" + item.title + "

" + + "

" + item.desc + "

" + + "" + + "Buy Item (" + item.cost + " coins)" + + "" + + "
"; return itemhtml; } function getcoinhtmlfromjson(coin) { - var coinhtml = "\ -
\ -

" + coin.display + " (" + coin.coins + ")

"; - coinhtml += "\ - Buy Coins ($" + coin.cost_usd + ")\ - \ -
"; + var coinhtml = "
" + + "

" + coin.display + " (" + coin.coins + ")

" + + "" + + "Buy Coins ($" + coin.cost_usd + ")" + + "" + + "
"; return coinhtml; } diff --git a/www/screens/inventory.html b/www/screens/inventory.html index bd51a44..9e5719f 100644 --- a/www/screens/inventory.html +++ b/www/screens/inventory.html @@ -25,7 +25,7 @@