aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/mobile.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-10-29 10:05:34 +0000
committerStruan Donald <struan@exo.org.uk>2012-10-29 10:05:34 +0000
commit9f84238c8f634744837e00d0588438f9560b3cc5 (patch)
tree544264c155a141679f8319b7c4e951ae9ee3406a /www/js/mobile.js
parent19d1123770271fdad835cb9d994a2bf84582502c (diff)
remove more unused code
Diffstat (limited to 'www/js/mobile.js')
-rw-r--r--www/js/mobile.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js
index 50e3c0e..eaaa367 100644
--- a/www/js/mobile.js
+++ b/www/js/mobile.js
@@ -2,23 +2,6 @@ function touchmove(e) {
e.preventDefault();
}
-function loadingSpinner(method){
- if (method == "on") {
- //Adjust to screen size
- var pHeight = window.innerHeight;
- var pWidth = window.innerWidth;
- var sH = parseInt($('#loadingSpinner').css('height'),10);
- var sW = parseInt($('#loadingSpinner').css('width'),10);
- $('#loadingSpinner').css('top',(pHeight-sH)/2+$('body').scrollTop());
- $('#loadingSpinner').css('left',(pWidth-sW)/2);
- $('#loadingSpinner').css('z-index',1000);
- //Show
- $('#loadingSpinner').show();
- } else if (method == 'off'){
- $('#loadingSpinner').hide();
- }
-}
-
function show_around( lat, long ) {
pc = $('#pc').val();
localStorage.latitude = lat;