aboutsummaryrefslogtreecommitdiffstats
path: root/web/js.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@balti.ukcod.org.uk>2010-08-02 11:36:02 +0100
committerMatthew Somerville <matthew@balti.ukcod.org.uk>2010-08-02 11:36:02 +0100
commit7bbd05ddfffd81cbc183988194a86d6275b48cff (patch)
tree910d9c2ba98946da8520238d512c693e4f4bff2c /web/js.js
parentc2239ce7c633aec362b90ae6fc2cd33e5783358a (diff)
Switch X/Y to be middle of map, clearer when going to RSS feed/alerts.
Diffstat (limited to 'web/js.js')
-rw-r--r--web/js.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/js.js b/web/js.js
index 4c98b82ba..ffe6b0850 100644
--- a/web/js.js
+++ b/web/js.js
@@ -57,8 +57,8 @@ YAHOO.util.Event.onContentReady('mapForm', function() {
this.onsubmit = function() { return false; };
}
- this.x.value = fixmystreet.x + 2;
- this.y.value = fixmystreet.y + 2;
+ this.x.value = fixmystreet.x + 3;
+ this.y.value = fixmystreet.y + 3;
/*
if (swfu && swfu.getStats().files_queued > 0) {
swfu.startUpload();
@@ -309,8 +309,8 @@ function load_pins(x, y) {
}
var ajax_params = [ 'sx=' + document.getElementById('formX').value,
'sy=' + document.getElementById('formY').value,
- 'x=' + (x+2),
- 'y=' + (y+2),
+ 'x=' + (x+3),
+ 'y=' + (y+3),
'all_pins=' + all_pins ];
if (document.getElementById('extra_param')) {