summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-02-28 14:43:19 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-02-28 14:43:19 -0800
commit672f658e6995f2b7851377e7c83b3c876c5e1ec2 (patch)
treeafbf27ac6d1303bef47698cf04476c6c519e3725 /js
parentabf2f39753d91baf132a0d93512803096b1299fa (diff)
downloadpathery-672f658e6995f2b7851377e7c83b3c876c5e1ec2.tar.xz
Fixes for Challenges.
Diffstat (limited to '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: '',