From 206c01cb1d89e7b04553af7eaf363e2cfb0c1ee3 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 8 May 2016 13:45:16 +0200 Subject: Revert "add id to item in order to change the value client side" This reverts commit 3795b462a30a1942f5ebac3105e72824acbd1a87. --- js/shop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/shop.js b/js/shop.js index 053f7c8..ce0ecd8 100644 --- a/js/shop.js +++ b/js/shop.js @@ -35,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 -- cgit v1.2.3-70-g09d2