Parcourir la source

Correction : utilisation d'un chemin absolu pour le .json

Gyom il y a 6 ans
Parent
commit
5827a325e8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      nav.js

+ 1 - 1
nav.js

@@ -24,7 +24,7 @@ if (ynh_not_in_frame) {
             }
 
             f$.ajax({
-                url: 'nav.json',
+                url: ynh_url+'nav.json',
                 crossdomain: true,
                 traditional: true,
                 dataType: 'json',