diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-02-28 14:42:25 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-02-28 14:42:25 -0800 |
commit | abf2f39753d91baf132a0d93512803096b1299fa (patch) | |
tree | 4ca1e86eb1f5c3d45393d76dff9cb4b42f3cb913 /js/mapspecs.js | |
parent | 97b6742ddfcef31ded607e4334475052ba46795b (diff) | |
download | pathery-abf2f39753d91baf132a0d93512803096b1299fa.tar.xz |
Link to a specific solution in scores, and other tweaks.
Diffstat (limited to 'js/mapspecs.js')
-rw-r--r-- | js/mapspecs.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/js/mapspecs.js b/js/mapspecs.js index 0e0a7e5..283e3a8 100644 --- a/js/mapspecs.js +++ b/js/mapspecs.js @@ -141,10 +141,7 @@ function grid_click(obj) { wallEmblem = playerWallEmblem;
}
}
- console.log('using wallcolors:', wallColor, wallEmblem);
-
obj.style.backgroundColor = wallColor;
-
if (wallEmblem !== false) {
obj.style.backgroundImage="url(images/marks/"+wallEmblem+")";
}
@@ -817,7 +814,8 @@ function displayMap(mapid, divID, goalSize, solution, moves, challengeMap) { //TODO: Better fail option?
fail: (function() { console.log("FAIL Map Download"); }),
complete: function(data) {
- $("#"+divID).html(mapAsHTML(decryptJSON(data.responseText), goalSize)).fadeIn('slow');
+ $("#"+divID).html(mapAsHTML(decryptJSON(data.responseText), goalSize)).fadeIn('fast');
+ //$("#"+divID).html(mapAsHTML(decryptJSON(data.responseText), goalSize)).show();
mapdata[mapid].savedSolution = solution;
restoreSolution(mapid);
}
|