Skip to content
Snippets Groups Projects
Commit 2f35081c authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

null

parent 647648e6
No related branches found
No related tags found
No related merge requests found
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
// On va définir la taille de la div derrière la navbar // On va définir la taille de la div derrière la navbar
function goToShop(id){ function goToShop(id){
var shopItemDetail='<p>Type: <strong>'+$('#'+id).attr('type')+'</strong></p>'; var shopItemDetail='<p>Type: <strong>'+$('#'+id).attr('type')+'</strong></p>';
if($("#"+id).attr("displayName") != "null"){ if($("#"+id).attr("displayName") != ""){
shopItemDetail+='<p>Nom personnalisé: <strong>'+decodeURIComponent($("#"+id).attr("displayName"))+'</strong></p>'; shopItemDetail+='<p>Nom personnalisé: <strong>'+decodeURIComponent($("#"+id).attr("displayName"))+'</strong></p>';
} }
if($("#"+id).attr("enchants") != "null"){ if($("#"+id).attr("enchants") != "null"){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment