aboutsummaryrefslogtreecommitdiffstats
path: root/phonegap/www/js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-05-28 10:24:28 +0100
committerStruan Donald <struan@exo.org.uk>2012-05-28 10:24:28 +0100
commitab41d7aaaa2b1358f1ff89e1f09f222974c72b21 (patch)
tree78cf5a3ec2c6c688dac4460e91290c9858016ece /phonegap/www/js
parent1a7690d060125886c450986490fe7e950a99cef9 (diff)
prevent scrolling on front page on iPhone to make it a bit more app like
Diffstat (limited to 'phonegap/www/js')
-rw-r--r--phonegap/www/js/mobile.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/phonegap/www/js/mobile.js b/phonegap/www/js/mobile.js
index 309b34073..07dc61ac3 100644
--- a/phonegap/www/js/mobile.js
+++ b/phonegap/www/js/mobile.js
@@ -1,3 +1,7 @@
+function touchmove(e) {
+ e.preventDefault();
+}
+
function show_around( lat, long ) {
pc = $('#pc').val();
localStorage.latitude = lat;