diff options
author | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-24 14:01:49 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-24 14:01:49 +0000 |
commit | 13098b6381416919b3e36fc3f558ca50f58fa854 (patch) | |
tree | 581dfabca1440b24aec90d01addb4ba1d95aa050 /web/js.js | |
parent | b54248ad8055afaf33fed2f7e51f88c6833047b2 (diff) |
No need for all pins yet (does nothing <6 months), hide pins using OL JS if present; permalink.
Diffstat (limited to 'web/js.js')
-rw-r--r-- | web/js.js | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -16,8 +16,12 @@ YAHOO.util.Event.onContentReady('mapForm', function() { this.onsubmit = function() { return false; }; } - this.x.value = fixmystreet.x + 3; - this.y.value = fixmystreet.y + 3; + /* XXX Should be in Tilma code only */ + if (this.x) { + this.x.value = fixmystreet.x + 3; + this.y.value = fixmystreet.y + 3; + } + /* if (swfu && swfu.getStats().files_queued > 0) { swfu.startUpload(); |