From 672f658e6995f2b7851377e7c83b3c876c5e1ec2 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Thu, 28 Feb 2013 14:43:19 -0800 Subject: Fixes for Challenges. --- js/mapspecs.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/mapspecs.js') 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: '', -- cgit v1.2.3