diff options
author | Struan Donald <struan@exo.org.uk> | 2013-04-15 17:08:42 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-04-15 17:08:42 +0100 |
commit | 7357aeb1cf9b09cf6d0c732789b4d92c6db0a910 (patch) | |
tree | 009b6843c181d6648e75e1f3ed1b53c33e2b6ef8 /www/js | |
parent | 0555ff4f9b93c5c312cc4ae3d0e0559f086e36cc (diff) |
need to capture event in order to prevent default
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/views/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/views/search.js b/www/js/views/search.js index afe2bf4..8d6d2df 100644 --- a/www/js/views/search.js +++ b/www/js/views/search.js @@ -55,7 +55,7 @@ } }, - goLocate: function() { + goLocate: function(e) { e.preventDefault(); this.navigate( 'around' ); }, |