From 3795b462a30a1942f5ebac3105e72824acbd1a87 Mon Sep 17 00:00:00 2001 From: alexichi Date: Sat, 7 May 2016 17:54:54 +0200 Subject: add id to item in order to change the value client side --- js/shop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/shop.js b/js/shop.js index ce0ecd8..053f7c8 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-54-g00ecf