diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2012-08-25 05:43:26 -0500 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2012-08-25 05:43:26 -0500 |
commit | 8e639fd6cccecb3f23f727ef1f00f7e9851ea04e (patch) | |
tree | 26260fbe93294728d294a5f14fc72bd908013dbd /pages/home.php | |
parent | 73d12dd8c33eb6ebeee4143707cb59f701936945 (diff) | |
download | pathery-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.php | 4 |
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)
|