summaryrefslogtreecommitdiffstats
path: root/pages/home.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2012-08-25 05:43:26 -0500
committerBlueRaja <BlueRaja.admin@gmail.com>2012-08-25 05:43:26 -0500
commit8e639fd6cccecb3f23f727ef1f00f7e9851ea04e (patch)
tree26260fbe93294728d294a5f14fc72bd908013dbd /pages/home.php
parent73d12dd8c33eb6ebeee4143707cb59f701936945 (diff)
downloadpathery-8e639fd6cccecb3f23f727ef1f00f7e9851ea04e.tar.xz
Fixing various javascript warnings, as well as renaming all //!! comments to //TODO
Diffstat (limited to 'pages/home.php')
-rw-r--r--pages/home.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/home.php b/pages/home.php
index 2b59bc2..4e46ac6 100644
--- a/pages/home.php
+++ b/pages/home.php
@@ -159,7 +159,7 @@ function displayMaze($motd, $mapType) {
if ($accepted) {
$sol = getSolution($userID, $mapID);
$mysolution = $sol['solution'];
- //!! implement mymoves
+ //TODO: implement mymoves
$mymoves = $sol['moves'];
}
if (isset($_SESSION[$mapID.'sol']) && $mysolution == '') {
@@ -263,7 +263,7 @@ function showStats(type) {
elem = document.getElementById("dl-" + i);
elem.className = elem.className.replace('selected', '');
}
- var elem = document.getElementById("yms-" + type);
+ elem = document.getElementById("yms-" + type);
elem.className = elem.className.replace('hidden-maps', 'shown-maps');
elem = document.getElementById("dl-" + type);
if (elem.className.indexOf('selected') < 0)