diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-01-20 01:51:14 +0100 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-01-20 01:51:14 +0100 |
| commit | 9c00e423f03a768668982061c65a6e95f77664d1 (patch) | |
| tree | aa0f645699afc34adb9191211f499f72621585b3 /StoneIsland/www | |
| parent | 39780c6c2d5474e2af12661935f986265c0feb0d (diff) | |
spacing
Diffstat (limited to 'StoneIsland/www')
| -rwxr-xr-x | StoneIsland/www/index.html | 2 | ||||
| -rwxr-xr-x | StoneIsland/www/js/index.js | 2 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/_router.js | 5 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/etc/geo.js | 4 |
4 files changed, 8 insertions, 5 deletions
diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index b9dd0a91..2a588826 100755 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -103,7 +103,7 @@ <div class="story">STORY</div> <div class="archive">ARCHIVE</div> <div class="alert"></div> - <span class="latlng">+40° 58' 90" -74° 04' 46"</span> + <span class="latlng">+40° 58' 90.9" N 74° 04' 46.3" W</span> </div> <div id="header"> diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js index 73af443a..0770b0f6 100755 --- a/StoneIsland/www/js/index.js +++ b/StoneIsland/www/js/index.js @@ -79,8 +79,6 @@ var app = (function(){ push.init() app.account.connect( app.router.launch.bind(app.router) ) // } - - $("body").removeClass("loading") } var refresh_time = +Date.now() diff --git a/StoneIsland/www/js/lib/_router.js b/StoneIsland/www/js/lib/_router.js index b1fa1c97..6ec14825 100755 --- a/StoneIsland/www/js/lib/_router.js +++ b/StoneIsland/www/js/lib/_router.js @@ -58,6 +58,11 @@ var SiteRouter = Router.extend({ this.route() } this.initial_route = null + + if (window.cordova) { + navigator.splashscreen.hide() + } + $("body").removeClass("loading") }, go: function(url){ diff --git a/StoneIsland/www/js/lib/etc/geo.js b/StoneIsland/www/js/lib/etc/geo.js index 88521bb1..5af9ecfd 100755 --- a/StoneIsland/www/js/lib/etc/geo.js +++ b/StoneIsland/www/js/lib/etc/geo.js @@ -11,12 +11,12 @@ var geo = (function(){ geo.success = function(position){ var lat_str = as_degrees( position.coords.latitude || 40.99167, "N", "S" ) var lng_str = as_degrees( position.coords.longitude || -74.07944, "W", "E" ) - $(".latlng").html( lat_str + " " + lng_str ) + $(".latlng").html( lat_str + " " + lng_str ) geo.done() } geo.error = function(error){ - $(".latlng").html( "+40° 58' 90.9\" N 74° 04' 46.3\" W" ) + $(".latlng").html( "+40° 58' 90.9\" N 74° 04' 46.3\" W" ) geo.done() } |
