From abf2f39753d91baf132a0d93512803096b1299fa Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Thu, 28 Feb 2013 14:42:25 -0800 Subject: Link to a specific solution in scores, and other tweaks. --- js/mapspecs.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'js/mapspecs.js') 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); } -- cgit v1.2.3