From 25556ed4765a897996fba7fb4b0776f043d47cb9 Mon Sep 17 00:00:00 2001 From: piernov Date: Sat, 7 May 2016 13:31:15 +0200 Subject: btn-primary → btn-success MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/dungeon.js | 8 ++++---- js/shop.js | 8 +++----- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'js') diff --git a/js/dungeon.js b/js/dungeon.js index d20a3cf..4fb226d 100644 --- a/js/dungeon.js +++ b/js/dungeon.js @@ -8,7 +8,7 @@ function buildDungeon(){ function displayDungeon(){ var tmphtml = "
"; - tmphtml += ""; + tmphtml += ""; document.getElementById("tab4").innerHTML = tmphtml; } @@ -24,13 +24,13 @@ function displayBattle(ret){ tmphtml += "

Battle

"; tmphtml += ""; tmphtml += ""; tmphtml += "

"; - tmphtml += ""; + tmphtml += ""; document.getElementById("tab4").innerHTML = tmphtml; } diff --git a/js/shop.js b/js/shop.js index bda3885..a2f14ad 100644 --- a/js/shop.js +++ b/js/shop.js @@ -3,16 +3,14 @@ function displayShop(ret) { for(var key in ret.items){ if(ret.items.hasOwnProperty(key)){ var category = ret.items[key]; - tmphtml += "
"; tmphtml += "

"+key+"

"; tmphtml += ""; - tmphtml += "
"; } } document.getElementById("tab2").innerHTML = tmphtml; @@ -37,7 +35,7 @@ function addItem(ret) { var itemtag = document.querySelector("[data-name=\""+ret[0].name+"\"]"); if(!itemtag){ //si c'est la première itération de l'objet itemhtml += "
  • "; - itemhtml += ""; + itemhtml += ""; itemhtml += "
  • "; } else{ // si c'est une n-ième itération @@ -48,7 +46,7 @@ function addItem(ret) { if(invcontent.children.length <= 1) { - var tmphtml = "

    Your bag contains the following items:

    "; + var tmphtml = "

    Your bag contains the following items:

    "; tmphtml += "" -- cgit v1.2.3-70-g09d2