aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/around.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-06-26 17:23:01 +0100
committerStruan Donald <struan@exo.org.uk>2013-06-26 17:55:46 +0100
commit8311a96be0d6e890c94e57764cac8f467d56d061 (patch)
treee7061514695f291e1b77e4d8ed875383ecb54b2e /www/js/views/around.js
parent1c7582884b0339130cb9075d7912c19bba23d86b (diff)
a few more preventDefaults
Diffstat (limited to 'www/js/views/around.js')
-rw-r--r--www/js/views/around.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
index 723a9ca..ae87d0b 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -217,7 +217,8 @@
$('#reposition').hide();
},
- onClickReport: function() {
+ onClickReport: function(e) {
+ e.preventDefault();
var position = this.getCrossHairPosition();
if ( FMS.isOffline ) {