summaryrefslogtreecommitdiffstats
path: root/js/mapspecs.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/mapspecs.js')
-rw-r--r--js/mapspecs.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/mapspecs.js b/js/mapspecs.js
index 283e3a8..3f2d3f6 100644
--- a/js/mapspecs.js
+++ b/js/mapspecs.js
@@ -803,11 +803,11 @@ function restoreSolution(mapid) {
function displayMap(mapid, divID, goalSize, solution, moves, challengeMap) {
- var stringURL = 'map/'+mapid+".js";
- if (challengeMap == true) stringURL = 'challenge/'+mapid+".js";
+ var stringURL = 'a/map/'+mapid+".js";
+ if (challengeMap == true) stringURL = 'a/challenge/'+mapid+".js";
$.ajax({
type: "GET",
- url: 'map/'+mapid+".js",
+ url: stringURL,
dataType: 'json',
cache: true,
data: '',