diff options
| author | Comment <tim@gray.(none)> | 2013-05-20 22:19:37 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-05-20 22:19:37 +0100 |
| commit | 73c5d1fbc23047f628da95a724aa6b61af3b44d5 (patch) | |
| tree | 2380ddb161da6be0c8406cb9e3c1245992c91212 | |
| parent | ce58f84fda93e6089caa5b724110dc7e01feddd1 (diff) | |
tidying up
| -rwxr-xr-x | config.php | 2 | ||||
| -rwxr-xr-x | map.js | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,6 @@ $login="tcdmaps"; $pword="tcdmaps"; $db="googlemaps_db"; - /* $host="wwwdb.tcd.ie"; $login="gmaps"; @@ -13,6 +12,7 @@ $pword="xpehtWpR"; $db="googlemaps_db"; + $host="internal-db.s65888.gridserver.com"; $login="db65888_tcd"; $pword="3K4DumV3"; @@ -610,7 +610,7 @@ function shadowbox(n) { Shadowbox.open({content:"./photos/"+n+".jpg",player: "img",title:markers['Building'][n].name}); } function onsearch(query) { - if (/^\d/.test(query)) { + if (/^[0-9]+$/.test(query)) { //^\d show_building(query); } else |
