From 22378f2310764873828755d6224f72353e1c44dd Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 9 Sep 2016 13:44:02 -0600 Subject: [PATCH] Compatability improvements --- www/js/shop.js | 28 +++++++++++++--------------- www/screens/inventory.html | 23 +++++++++++------------ www/screens/profile.html | 9 +++++---- 3 files changed, 29 insertions(+), 31 deletions(-) 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 @@